blob: a6954ebd85d7dfa3b438ce509a92a9440e22b13b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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
|