class

AzuCLI::Generate::DataMigration

Inherits Teeplate::FileTree < Reference < Object

Data migration generator that creates CQL::DataMigration classes

Constants

OUTPUT_DIR = "./src/db/data_migrations"

Constructors

new(name : String)
Source

Instance methods

____collect_files(____files)

:nodoc:

Source
__ecr0(____io)
Source
migration_class_name

Get migration class name

Source
migration_class_name=(migration_class_name : String)
Source
migration_filename

Get migration filename

Source
name

Migration configuration properties

Source
name=(name : String)

Migration configuration properties

Source
snake_case_name

Convert name to snake_case for file naming

Source
snake_case_name=(snake_case_name : String)
Source
timestamp
Source
timestamp=(timestamp : String)
Source