Documentation ¶
Index ¶
- func DoMigrations(c *cli.Context) error
- func Login(c *cli.Context) error
- func MigrationAdd(c *cli.Context) error
- func MigrationDelete(c *cli.Context) error
- func MigrationList(c *cli.Context) error
- func MigrationSet(c *cli.Context) error
- func MigrationTableList(c *cli.Context) error
- func Register(c *cli.Context) error
- func ScriptGet(c *cli.Context) error
- func ScriptGetCompile(c *cli.Context) error
- func ScriptList(c *cli.Context) error
- func ScriptRegister(c *cli.Context) error
- func Server(c *cli.Context) error
- func Token(c *cli.Context) error
- func User(c *cli.Context) error
- func Version(c *cli.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoMigrations ¶
func DoMigrations(c *cli.Context) error
DoMigrations runs the migration for a given table and env
func MigrationAdd ¶
func MigrationAdd(c *cli.Context) error
MigrationAdd add a new migration to the platform
func MigrationDelete ¶
func MigrationDelete(c *cli.Context) error
MigrationDelete removes a migration from the platform
func MigrationList ¶
func MigrationList(c *cli.Context) error
MigrationList list available migrations for a table and env
func MigrationSet ¶
func MigrationSet(c *cli.Context) error
MigrationSet sets the current migration If you have 3 applied migrations, and you want to roll back to migration 2 You can set migration to 2, and the next time you run migrations, you'll do a down migrtion for 3
func MigrationTableList ¶
func MigrationTableList(c *cli.Context) error
MigrationTableList lists all the tables we have a migration for, for a given env
func ScriptGetCompile ¶
func ScriptGetCompile(c *cli.Context) error
ScriptGetCompile returns a script from the platform and compiles it
func ScriptRegister ¶
func ScriptRegister(c *cli.Context) error
ScriptRegister registers a script with the platform
Types ¶
This section is empty.