metamaps--metamaps/db/migrate/20120920014810_create_items.rb

15 lines
258 B
Ruby
Raw Normal View History

2012-09-23 02:39:12 +00:00
class CreateItems < ActiveRecord::Migration
def change
create_table :items do |t|
t.text :name
t.text :desc
t.text :link
t.text :permission
2012-09-23 02:39:12 +00:00
t.integer :user_id
t.integer :item_category_id
t.timestamps
end
end
end