class

AzuCLI::Commands::DB::DataMigrate

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

Run data migrations separately from schema migrations

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
steps
Source
steps=(steps : Int32 | Nil)
Source
test_create_data_migration_runner_script(action : String, version : Int64 | Nil = nil, steps : Int32 | Nil = nil) : String

Public test helper to access private method for testing

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