* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
14 lines
276 B
Ruby
14 lines
276 B
Ruby
class CreateLinks < ActiveRecord::Migration[4.2]
|
|
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
|