Module: ROM::Cassandra::Migrations
- Defined in:
- lib/rom/cassandra/migrations.rb,
lib/rom/cassandra/migrations/logger.rb,
lib/rom/cassandra/migrations/runner.rb,
lib/rom/cassandra/migrations/migrator.rb,
lib/rom/cassandra/migrations/generator.rb,
lib/rom/cassandra/migrations/migration.rb,
lib/rom/cassandra/migrations/runner_up.rb,
lib/rom/cassandra/migrations/runner_down.rb
Overview
Migrations features for the Cassandra cluster
Defined Under Namespace
Classes: Generator, Logger, Migration, Migrator, Runner, RunnerDown, RunnerUp
Constant Summary collapse
- GET_VERSION =
The procedure that extracts version number from a migration filename
-> name { File.basename(name, ".rb")[/\d{14}/].to_i }
- DEFAULT_PATH =
The default path for migrations
"db/migrate".freeze
- ALL_VERSIONS =
The biggest possible version for migrations
("9" * 14).to_i