Corrected some comments.

This commit is contained in:
Asaf Gartner 2021-04-12 17:12:57 +03:00
parent a8c9167e24
commit e827f47834
1 changed files with 1 additions and 2 deletions

View File

@ -284,8 +284,7 @@ func MakeMigration(name, description string) {
}
// 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`, then runs the rest of the migrations.
// Applies the seed after the migration specified in `afterMigration`.
func SeedFromFile(seedFile string, afterMigration types.MigrationVersion) {
file, err := os.Open(seedFile)
if err != nil {