AutoMigrate run auto migration for given models
(dst ...interface{})
| 21 | |
| 22 | // AutoMigrate run auto migration for given models |
| 23 | func (db *DB) AutoMigrate(dst ...interface{}) error { |
| 24 | return db.Migrator().AutoMigrate(dst...) |
| 25 | } |
| 26 | |
| 27 | // ViewOption view option |
| 28 | type ViewOption struct { |
nothing calls this directly
no test coverage detected