class AzuCLI::Database
- AzuCLI::Database
- Reference
- Object
Included Modules
Defined in:
azu_cli/database.crConstant Summary
-
ARGS =
"setup"
-
DESCRIPTION =
"#{bold("Azu")} - Jennifer Database Commands\n\n Allows you to evolve your database schema and perform changes to \n your database \n\n seed - Seeds the database with data Eg. azu seed\n step - Migrates one step\n migrate - Runs all pending migrations\n rollback - Rolls back the last migration\n create - Creates the database\n drop - Drops the database\n version - Prints latest migrated version\n setup - Creates, migrates and seeds the database\n schema - Loads database schema definition into a sql file"
-
PATH =
Migration::PATH
Instance Method Summary
- #action : String
- #action=(v : String) : String
-
#action=(v : Nil)
nil
assignments are always ignored - #action? : String | Nil
- #count : Int32
- #count=(v : Int32) : Int32
-
#count=(v : Nil)
nil
assignments are always ignored - #count? : Int32 | Nil
- #help : Bool
- #help=(v : Bool) : Bool
-
#help=(v : Nil)
nil
assignments are always ignored - #help?
- #not_exists?(path, &)
- #on(event : String)
- #register_option_action(parser)
- #register_option_count(parser)
- #register_option_help(parser)
- #register_option_version(parser)
- #run(input, args)
-
#run
[app flow] step3 : main routine
- #shard(path = "./shard.yml")
- #show_usage
- #version : Bool
- #version=(v : Bool) : Bool
-
#version=(v : Nil)
nil
assignments are always ignored - #version?