Documentation ¶
Overview ¶
https://github.com/go-gormigrate/gormigrate gopkg.in/gormigrate.v2
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GormigrateOptions = &gormigrate.Options{ TableName: migrationTableName, IDColumnName: "id", IDColumnSize: 128, UseTransaction: false, ValidateUnknownMigrations: true, } // All tables in the latest schema AllTables = []interface{}{ &domain.User{}, &domain.Article{}, &domain.ArticleGameContent{}, &domain.ArticleOwner{}, &domain.ArticleTag{}, &domain.ArticleComment{}, &domain.ArticleImageURL{}, } )
Functions ¶
func DropAllTables ¶
func GetVersions ¶
func GetVersions() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.