Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SeedUsers *gormigrate.Migration = &gormigrate.Migration{ ID: "SEED_USERS", Migrate: func(db *gorm.DB) error { return db.Create(&firstUser).Error }, Rollback: func(db *gorm.DB) error { return db.Delete(&firstUser).Error }, }
SeedUsers inserts the first users
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.