module Marten::DB::Migration::DSL

Direct including types

Defined in:

marten/db/migration/dsl.cr
marten/db/migration/dsl/create_table.cr

Macro Summary

Macro Detail

macro add_column(table_name, *args, **kwargs) #

[View source]
macro add_index(table_name, name, column_names) #

[View source]
macro add_unique_constraint(table_name, name, column_names) #

[View source]
macro change_column(table_name, *args, **kwargs) #

[View source]
macro create_table(name) #

[View source]
macro delete_table(name) #

[View source]
macro execute(forward_sql, backward_sql = nil) #

[View source]
macro faked #

[View source]
macro remove_column(table_name, column_name) #

[View source]
macro remove_index(table_name, index_name) #

[View source]
macro remove_unique_constraint(table_name, constraint_name) #

[View source]
macro rename_column(table_name, old_name, new_name) #

[View source]
macro rename_table(old_name, new_name) #

[View source]
macro run_code(forward_method) #

[View source]
macro run_code(forward_method, backward_method) #

[View source]