Module: StrongMigrations

Defined in:
lib/strong_migrations.rb,
lib/strong_migrations/checker.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: Checker, Railtie, UnsafeMigration

Constant Summary collapse

VERSION =
"0.4.2"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.auto_analyzeObject

Returns the value of attribute auto_analyze.



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

def auto_analyze
  @auto_analyze
end

.checksObject

Returns the value of attribute checks.



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

def checks
  @checks
end

.error_messagesObject

Returns the value of attribute error_messages.



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

def error_messages
  @error_messages
end

.start_afterObject

Returns the value of attribute start_after.



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

def start_after
  @start_after
end

.target_postgresql_versionObject

Returns the value of attribute target_postgresql_version.



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

def target_postgresql_version
  @target_postgresql_version
end

Class Method Details

.add_check(&block) ⇒ Object



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

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