chainlink: github.com/smartcontractkit/chainlink/core/store/migrations Index | Files | Directories

package migrations

import "github.com/smartcontractkit/chainlink/core/store/migrations"

Index

Package Files

migrate.go

func GORMMigrate Uses

func GORMMigrate(db *gorm.DB) error

GORMMigrate calls through to gorm's native migrate function with minimal extra logic Useful if the migrations table doesn't exist yet but we don't care

func Migrate Uses

func Migrate(db *gorm.DB) error

Migrate iterates through available migrations, running and tracking migrations that have not been run.

func MigrateTo Uses

func MigrateTo(db *gorm.DB, migrationID string) error

MigrateTo runs all migrations up to and including the specified migration ID

Directories

PathSynopsis
migration0
migration1559081901
migration1559767166
migration1560433987
migration1560791143
migration1560881846
migration1560881855
migration1560886530
migration1560924400
migration1564007745
migration1565139192
migration1565210496
migration1565291711
migration1565877314
migration1566498796
migration1566915476
migration1567029116
migration1568280052
migration1568390387
migration1568833756
migration1570087128
migration1570675883
migration1573667511
migration1573812490
migration1574659987
migration1575036327
migration1576022702
migration1579700934
migration1580904019
migration1581240419
migration1584377646
migration1585908150
migration1585918589
migration1586163842
migration1586342453
migration1586369235
migration1586871710
migration1586939705
migration1586949323
migration1586956053
migration1587027516
migration1587580235
migration1587591248
migration1587975059
migration1588088353
migration1588293486
migration1588757164
migration1588853064
migration1589470036

Package migrations imports 63 packages (graph) and is imported by 3 packages. Updated 2020-08-05. Refresh now. Tools for package owners.