12 lines
218 B
Ruby
12 lines
218 B
Ruby
|
class <%= migration_name %> < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :<%= table_name %> do |t|
|
||
|
# t.column :name, :string
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :<%= table_name %>
|
||
|
end
|
||
|
end
|