Migrate runs the migrations using the embedded migration files
(db *gorm.DB)
| 67 | |
| 68 | // Migrate runs the migrations using the embedded migration files |
| 69 | func Migrate(db *gorm.DB) error { |
| 70 | return migrate(db, migrations.Files) |
| 71 | } |
| 72 | |
| 73 | // getMigrationFiles reads, validates, and sorts migration files |
| 74 | func getMigrationFiles(fsys fs.FS) ([]migrationFile, error) { |
no test coverage detected