class SchemaMigration

Placeholder class to imitate a model for the schema migrations column family. Used as part of the CQL generation.

Public Class Methods

column_family() click to toggle source

Returns the name of the column family

# File lib/schema_migration.rb, line 9
def self.column_family
  'schema_migrations'
end
default_consistency() click to toggle source
# File lib/schema_migration.rb, line 4
def self.default_consistency
  DatastaxRails::Base.default_consistency
end
primary_key() click to toggle source
# File lib/schema_migration.rb, line 13
def self.primary_key
  'cf'
end