docbrown/db/migrate/20160115190444_create_links.rb
2018-02-28 16:11:08 -05:00

14 lines
271 B
Ruby

class CreateLinks < ActiveRecord::Migration
def change
create_table :links do |t|
t.text :title
t.text :body_html
t.text :url
t.text :description
t.text :image
t.string :category
t.timestamps null: false
end
end
end