module Marten::DB::Migration::DSL
Direct including types
Defined in:
marten/db/migration/dsl.crmarten/db/migration/dsl/create_table.cr
Macro Summary
- add_column(table_name, *args, **kwargs)
- add_index(table_name, name, column_names)
- add_unique_constraint(table_name, name, column_names)
- change_column(table_name, *args, **kwargs)
- create_table(name)
- delete_table(name)
- execute(forward_sql, backward_sql = nil)
- faked
- remove_column(table_name, column_name)
- remove_index(table_name, index_name)
- remove_unique_constraint(table_name, constraint_name)
- rename_column(table_name, old_name, new_name)
- rename_table(old_name, new_name)
- run_code(forward_method)
- run_code(forward_method, backward_method)