Missing docstring for DatabaseMigration.
Missing docstring for IrreversibleMigrationException.
Missing docstring for ExistingMigrationException.
Missing docstring for MigrationNotFoundException.
newtable(migration_name::String, resource::String) :: String
Creates a new default migration file and persists it to disk in the configured migrations folder.
newtable(migration_name::String, resource::String) :: String
Creates a new default migration file and persists it to disk in the configured migrations folder.
Missing docstring for relationship_table_name.
new, or new{A,B,...}
Special function available to inner constructors which creates a new object of the type. The form new{A,B,...} explicitly specifies values of parameters for parametric types. See the manual section on [Inner Constructor Methods](@ref man-inner-constructor-methods) for more information.
migration_hash() :: String
Computes a unique hash for a migration identifier.
migration_file_name(migration_name::String) :: String
migration_file_name(cmd_args::Dict{String,Any}, config::Configuration.Settings) :: String
Computes the name of a new migration file.
migration_module_name(underscored_migration_name::String) :: String
Computes the name of the module of the migration based on the input from the user (migration name).
last_up(; force = false) :: Nothing
Migrates up the last migration. If force is true, the migration will be executed even if it's already up.
last_up(; force = false) :: Nothing
Migrates up the last migration. If force is true, the migration will be executed even if it's already up.
last_down() :: Nothing
Migrates down the last migration. If force is true, the migration will be executed even if it's already down.
last_down() :: Nothing
Migrates down the last migration. If force is true, the migration will be executed even if it's already down.
up(migration_module_name::String; force::Bool = false) :: Nothing
up_by_module_name(migration_module_name::String; force::Bool = false) :: Nothing
Runs up the migration corresponding to migration_module_name.
Missing docstring for up_by_module_name.
down(migration_module_name::String; force::Bool = false) :: Nothing
down_by_module_name(migration_module_name::String; force::Bool = false) :: Nothing
Runs down the migration corresponding to migration_module_name.
Missing docstring for down_by_module_name.
migration_by_module_name(migration_module_name::String) :: Union{Nothing,DatabaseMigration}
Computes the migration that corresponds to migration_module_name.
all_migrations() :: Tuple{Vector{String},Dict{String,DatabaseMigration}}
Returns the list of all the migrations.
all_migrations() :: Tuple{Vector{String},Dict{String,DatabaseMigration}}
Returns the list of all the migrations.
last_migration() :: DatabaseMigration
Returns the last created migration.
last_migration() :: DatabaseMigration
Returns the last created migration.
run_migration(migration::DatabaseMigration, direction::Symbol; force = false) :: Nothing
Runs migration in up or down, per directon. If force is true, the migration is run regardless of its current status (already up or down).
run_migration(migration_name::AbstractString, direction::Symbol; force = false) :: Nothing
Runs the migration corresponding to migration_name in direction. If force is true, the migration is run regardless of its current status (already up or down).
##Arguments
migration_name::AbstractString: The migration module name.direction::Symbol: The direction of the migration. Must be:upor:down.force::Bool: Iftrue, the migration is run regardless of its current status (alreadyupor `down).
store_migration_status(migration::DatabaseMigration, direction::Symbol) :: Nothing
Persists the direction of the migration into the database.
upped_migrations() :: Vector{String}
List of all migrations that are up.
downed_migrations() :: Vector{String}
List of all migrations that are down.
status() :: Nothing
Prints a table that displays the direction of each migration.
all_with_status() :: Tuple{Vector{String},Dict{String,Dict{Symbol,Any}}}
Returns a list of all the migrations and their status.
Missing docstring for create_table.
Missing docstring for column.
Missing docstring for columns.
Missing docstring for column_id.
Missing docstring for add_index.
Missing docstring for add_indexes.
Missing docstring for add_column.
Missing docstring for add_columns.
Missing docstring for drop_table.
Missing docstring for remove_column.
Missing docstring for remove_columns.
Missing docstring for remove_index.
Missing docstring for remove_indexes.
Missing docstring for remove_indices.
Missing docstring for create_sequence.
Missing docstring for constraint.
Missing docstring for nextval.
Missing docstring for column_id_sequence.
Missing docstring for remove_sequence.
Missing docstring for drop_sequence.
Missing docstring for create_migrations_table.
Missing docstring for init.