Corrected some comments.
This commit is contained in:
parent
a8c9167e24
commit
e827f47834
|
@ -284,8 +284,7 @@ func MakeMigration(name, description string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Applies a cloned db to the local db.
|
// Applies a cloned db to the local db.
|
||||||
// Drops the db and runs migrations from scratch.
|
// Applies the seed after the migration specified in `afterMigration`.
|
||||||
// Applies the seed after the migration specified in `afterMigration`, then runs the rest of the migrations.
|
|
||||||
func SeedFromFile(seedFile string, afterMigration types.MigrationVersion) {
|
func SeedFromFile(seedFile string, afterMigration types.MigrationVersion) {
|
||||||
file, err := os.Open(seedFile)
|
file, err := os.Open(seedFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue