bigdir/db/migrate/20130801081314_create_share...

13 lines
223 B
Ruby

class CreateShares < ActiveRecord::Migration
def change
create_table :shares do |t|
t.date :created_on
t.string :url
t.string :title
t.integer :share_type
t.timestamps
end
end
end