Documentation
¶
Overview ¶
Package migrations reads the migration files of an application and the rows that drel already applied. The CLI prints them, and the boot check of the root package proves that none is pending. See the SDD, S14 and DX-8.
Index ¶
Constants ¶
View Source
const TrackingTable = "drel_migrations"
TrackingTable is the table that drel writes when it applies a migration.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Migration ¶
type Migration struct {
// Version is the fourteen digit version of the file name.
Version string
// Name is the part of the file name after the version.
Name string
}
Migration is one file pair of the migrations directory.
Click to show internal directories.
Click to hide internal directories.