Module: SqlMigrations
- Defined in:
- lib/sql_migrations.rb,
lib/sql_migrations/seed.rb,
lib/sql_migrations/fixture.rb,
lib/sql_migrations/version.rb,
lib/sql_migrations/database.rb,
lib/sql_migrations/migration.rb,
lib/sql_migrations/sql_script.rb,
lib/sql_migrations/supervisor.rb
Defined Under Namespace
Classes: Database, Fixture, Migration, Seed, SqlScript, Supervisor
Constant Summary collapse
- VERSION =
"1.0.0"
Class Attribute Summary collapse
-
.options ⇒ Object
readonly
Returns the value of attribute options.
Class Method Summary collapse
Class Attribute Details
.options ⇒ Object (readonly)
Returns the value of attribute options.
17 18 19 |
# File 'lib/sql_migrations.rb', line 17 def end |
Class Method Details
.load!(config_file) ⇒ Object
26 27 28 |
# File 'lib/sql_migrations.rb', line 26 def load!(config_file) = YAML::load_file(config_file) end |
.load_tasks ⇒ Object
19 20 21 22 23 24 |
# File 'lib/sql_migrations.rb', line 19 def load_tasks load "sql_migrations/tasks/migrate.rake" load "sql_migrations/tasks/seed.rake" load "sql_migrations/tasks/seed_test.rake" load "sql_migrations/tasks/list.rake" end |