class

AzuCLI::Commands::DB::Migrate

Inherits AzuCLI::Commands::Database < AzuCLI::Commands::Base < Reference < Object

Run database migrations using CQL's Migrator

Constructors

Instance methods

dry_run
Source
dry_run=(dry_run : Bool)
Source
execute

Abstract method that all commands must implement

Source
parse_args(args : Array(String))

Override parse_args to also trigger custom parsing

Source
skip_validation
Source
skip_validation=(skip_validation : Bool)
Source
steps
Source
steps=(steps : Int32 | Nil)
Source
test_create_migration_runner_script(action : String, version : Int64 | Nil = nil, steps : Int32 | Nil = nil) : String

Public test helper to access private method for testing

Source
test_rollback
Source
test_rollback=(test_rollback : Bool)
Source
verbose
Source
verbose=(verbose : Bool)
Source
version
Source
version=(version : Int64 | Nil)
Source