Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MigrationList = []*gormigrate.Migration{
addDinosaurs(),
addEvents(),
addResources(),
addConsumers(),
dropDinosaurs(),
addServerInstances(),
addStatusEvents(),
addEventInstances(),
}
MigrationList rules:
IDs are numerical timestamps that must sort ascending. Use YYYYMMDDHHMM w/ 24 hour time for format Example: August 21 2018 at 2:54pm would be 201808211454.
Include models inline with migrations to see the evolution of the object over time. Using our internal type models directly in the first migration would fail in future clean installs.
Migrations must be backwards compatible. There are no new required fields allowed. See $project_home/g2/README.md
4. Create one function in a separate file that returns your Migration. Add that single function call to this list.
Functions ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.