Class: SchemaMigration
Overview
Placeholder class to imitate a model for the schema migrations column family. Used as part of the CQL generation.
Class Method Summary collapse
-
.column_family ⇒ Object
Returns the name of the column family.
- .default_consistency ⇒ Object
- .primary_key ⇒ Object
Class Method Details
.column_family ⇒ Object
Returns the name of the column family
9 10 11 |
# File 'lib/schema_migration.rb', line 9 def self.column_family 'schema_migrations' end |
.default_consistency ⇒ Object
4 5 6 |
# File 'lib/schema_migration.rb', line 4 def self.default_consistency DatastaxRails::Base.default_consistency end |
.primary_key ⇒ Object
13 14 15 |
# File 'lib/schema_migration.rb', line 13 def self.primary_key 'cf' end |