class Marten::DB::Migration::Operation::ExecuteSQL

Defined in:

marten/db/migration/operation/execute_sql.cr

Constructors

Instance Method Summary

Instance methods inherited from class Marten::DB::Migration::Operation::Base

describe : String describe, faked=(faked : Bool) faked=, faked? : Bool faked?, mutate_db_backward(app_label : String, schema_editor : Management::SchemaEditor::Base, from_state : Management::ProjectState, to_state : Management::ProjectState) : Nil mutate_db_backward, mutate_db_forward(app_label : String, schema_editor : Management::SchemaEditor::Base, from_state : Management::ProjectState, to_state : Management::ProjectState) : Nil mutate_db_forward, mutate_state_forward(app_label : String, state : Management::ProjectState) : Nil mutate_state_forward, serialize : String serialize

Instance methods inherited from module Marten::DB::CanFormatStringsOrSymbols

format_string_or_symbol(value : String) format_string_or_symbol

Constructor Detail

def self.new(forward_sql : String, backward_sql : String | Nil = nil) #

[View source]

Instance Method Detail

def backward_sql : String? #

[View source]
def describe : String #

[View source]
def forward_sql : String #

[View source]
def mutate_db_backward(app_label : String, schema_editor : Management::SchemaEditor::Base, from_state : Management::ProjectState, to_state : Management::ProjectState) : Nil #

[View source]
def mutate_db_forward(app_label : String, schema_editor : Management::SchemaEditor::Base, from_state : Management::ProjectState, to_state : Management::ProjectState) : Nil #

[View source]
def mutate_state_forward(app_label : String, state : Management::ProjectState) : Nil #

[View source]
def serialize : String #

[View source]