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
-
.auto_analyze ⇒ Object
Returns the value of attribute auto_analyze.
-
.checks ⇒ Object
Returns the value of attribute checks.
-
.error_messages ⇒ Object
Returns the value of attribute error_messages.
-
.start_after ⇒ Object
Returns the value of attribute start_after.
-
.target_postgresql_version ⇒ Object
Returns the value of attribute target_postgresql_version.
Class Method Summary collapse
Class Attribute Details
.auto_analyze ⇒ Object
Returns the value of attribute auto_analyze.
12 13 14 |
# File 'lib/strong_migrations.rb', line 12 def auto_analyze @auto_analyze end |
.checks ⇒ Object
Returns the value of attribute checks.
12 13 14 |
# File 'lib/strong_migrations.rb', line 12 def checks @checks end |
.error_messages ⇒ Object
Returns the value of attribute error_messages.
12 13 14 |
# File 'lib/strong_migrations.rb', line 12 def end |
.start_after ⇒ Object
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_version ⇒ Object
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 |