13 lines
236 B
Ruby
13 lines
236 B
Ruby
class CreateItems < ActiveRecord::Migration
|
|
def change
|
|
create_table :items do |t|
|
|
t.text :name
|
|
t.text :desc
|
|
t.text :link
|
|
t.integer :user_id
|
|
t.integer :item_category_id
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|