class CassandraStore::SchemaMigration
Public Class Methods
create_table(if_not_exists: false)
click to toggle source
# File lib/cassandra_store/schema_migration.rb, line 6 def self.create_table(if_not_exists: false) execute "CREATE TABLE #{"IF NOT EXISTS" if if_not_exists} schema_migrations(version TEXT PRIMARY KEY)" end
table_name()
click to toggle source
# File lib/cassandra_store/schema_migration.rb, line 2 def self.table_name "schema_migrations" end