Documentation ¶
Overview ¶
Package migrate to migrate the schema
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DropAllTables ¶
func DropAllTables() error
DropAllTables - careful! It will drop all the tables!
func StartMigration ¶
func StartMigration(configure config.Configuration) error
StartMigration - automatically migrate all the tables - Only create tables with missing columns and missing indexes - Will not change/delete any existing columns and their types
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.