link-share/db/migrate/20150721142956_add_links.rb

12 lines
204 B
Ruby

class AddLinks < ActiveRecord::Migration
def change
create_table :links do |t|
t.string :title
t.string :link
t.datetime :sent_at
t.timestamps null: false
end
end
end