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

12 lines
209 B
Ruby
Raw Normal View History

2017-09-05 20:56:37 -04:00
class AddLinks < ActiveRecord::Migration[4.2]
2015-07-21 10:33:31 -04:00
def change
create_table :links do |t|
t.string :title
t.string :link
t.datetime :sent_at
t.timestamps null: false
end
end
end