16 lines
235 B
Ruby
16 lines
235 B
Ruby
|
class CreateItems < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
create_table :items do |t|
|
||
|
t.string :name
|
||
|
t.string :email
|
||
|
t.string :key
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
drop_table :items
|
||
|
end
|
||
|
end
|