Module: Snaptime::MigrationHelpers::SchemaStatements::TopLevel

Defined in:
lib/snaptime/migration_helpers.rb

Instance Method Summary collapse

Instance Method Details

#unversionize_table(table_name) ⇒ Object



48
49
50
# File 'lib/snaptime/migration_helpers.rb', line 48

def unversionize_table(table_name)
  change_table table_name, &:unversionize
end

#versionize_table(table_name) ⇒ Object



44
45
46
# File 'lib/snaptime/migration_helpers.rb', line 44

def versionize_table(table_name)
  change_table table_name, &:versionize
end