13 lines
270 B
Go
13 lines
270 B
Go
package db
|
|
|
|
type Migration struct {
|
|
// ID is the version number that the schema will be at, after applying the migration.
|
|
ID int
|
|
|
|
// Title is an optional name for the migration.
|
|
Title string
|
|
|
|
// SQL is the body of the migration that will be executed.
|
|
SQL string
|
|
}
|