Module: StrongMigrations

Defined in:
lib/strong_migrations.rb,
lib/strong_migrations/railtie.rb,
lib/strong_migrations/version.rb,
lib/strong_migrations/migration.rb,
lib/strong_migrations/database_tasks.rb,
lib/strong_migrations/unsafe_migration.rb,
lib/strong_migrations/alphabetize_columns.rb

Defined Under Namespace

Modules: AlphabetizeColumns, DatabaseTasks, Migration Classes: Railtie, UnsafeMigration

Constant Summary collapse

VERSION =
"0.4.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.auto_analyzeObject

Returns the value of attribute auto_analyze.



11
12
13
# File 'lib/strong_migrations.rb', line 11

def auto_analyze
  @auto_analyze
end

.checksObject

Returns the value of attribute checks.



11
12
13
# File 'lib/strong_migrations.rb', line 11

def checks
  @checks
end

.error_messagesObject

Returns the value of attribute error_messages.



11
12
13
# File 'lib/strong_migrations.rb', line 11

def error_messages
  @error_messages
end

.start_afterObject

Returns the value of attribute start_after.



11
12
13
# File 'lib/strong_migrations.rb', line 11

def start_after
  @start_after
end

Class Method Details

.add_check(&block) ⇒ Object



166
167
168
# File 'lib/strong_migrations.rb', line 166

def self.add_check(&block)
  checks << block
end