Class: CreateCheeseTables

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/rails/generators/qwirk/templates/migration.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
# File 'lib/rails/generators/qwirk/templates/migration.rb', line 6

def self.down
  drop_table :cheese_widgets
end

.upObject



2
3
4
# File 'lib/rails/generators/qwirk/templates/migration.rb', line 2

def self.up
  SCHEMA_AUTO_INSERTED_HERE
end