Missing docstring.

Missing docstring for DatabaseMigration. Check Documenter's build log for details.

Missing docstring.

Missing docstring for IrreversibleMigrationException. Check Documenter's build log for details.

Missing docstring.

Missing docstring for ExistingMigrationException. Check Documenter's build log for details.

Missing docstring.

Missing docstring for MigrationNotFoundException. Check Documenter's build log for details.

SearchLight.Migration.new_tableFunction
newtable(migration_name::String, resource::String) :: String

Creates a new default migration file and persists it to disk in the configured migrations folder.

source
SearchLight.Migration.newtableFunction
newtable(migration_name::String, resource::String) :: String

Creates a new default migration file and persists it to disk in the configured migrations folder.

source
Missing docstring.

Missing docstring for relationship_table_name. Check Documenter's build log for details.

newKeyword
new

Special function available to inner constructors which created a new object of the type. See the manual section on Inner Constructor Methods for more information.

source
SearchLight.Migration.migration_file_nameFunction
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.

source
SearchLight.Migration.last_upFunction
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.

source
SearchLight.Migration.lastupFunction
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.

source
SearchLight.Migration.lastdownFunction
last_down() :: Nothing

Migrates down the last migration. If force is true, the migration will be executed even if it's already down.

source
SearchLight.Migration.upFunction
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.

source
Missing docstring.

Missing docstring for up_by_module_name. Check Documenter's build log for details.

SearchLight.Migration.downFunction
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.

source
Missing docstring.

Missing docstring for down_by_module_name. Check Documenter's build log for details.

SearchLight.Migration.allFunction
all_migrations() :: Tuple{Vector{String},Dict{String,DatabaseMigration}}

Returns the list of all the migrations.

source
SearchLight.Migration.run_migrationFunction
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).

source
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 :up or :down.
  • force::Bool: If true, the migration is run regardless of its current status (already up or `down).
source
Missing docstring.

Missing docstring for create_table. Check Documenter's build log for details.

Missing docstring.

Missing docstring for column. Check Documenter's build log for details.

Missing docstring.

Missing docstring for columns. Check Documenter's build log for details.

Missing docstring.

Missing docstring for column_id. Check Documenter's build log for details.

Missing docstring.

Missing docstring for add_index. Check Documenter's build log for details.

Missing docstring.

Missing docstring for add_indexes. Check Documenter's build log for details.

Missing docstring.

Missing docstring for add_column. Check Documenter's build log for details.

Missing docstring.

Missing docstring for add_columns. Check Documenter's build log for details.

Missing docstring.

Missing docstring for drop_table. Check Documenter's build log for details.

Missing docstring.

Missing docstring for remove_column. Check Documenter's build log for details.

Missing docstring.

Missing docstring for remove_columns. Check Documenter's build log for details.

Missing docstring.

Missing docstring for remove_index. Check Documenter's build log for details.

Missing docstring.

Missing docstring for remove_indexes. Check Documenter's build log for details.

Missing docstring.

Missing docstring for remove_indices. Check Documenter's build log for details.

Missing docstring.

Missing docstring for create_sequence. Check Documenter's build log for details.

Missing docstring.

Missing docstring for constraint. Check Documenter's build log for details.

Missing docstring.

Missing docstring for nextval. Check Documenter's build log for details.

Missing docstring.

Missing docstring for column_id_sequence. Check Documenter's build log for details.

Missing docstring.

Missing docstring for remove_sequence. Check Documenter's build log for details.

Missing docstring.

Missing docstring for drop_sequence. Check Documenter's build log for details.

Missing docstring.

Missing docstring for create_migrations_table. Check Documenter's build log for details.

Missing docstring.

Missing docstring for init. Check Documenter's build log for details.