* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
11 lines
262 B
Ruby
11 lines
262 B
Ruby
class CreateComments < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :comments do |t|
|
|
t.integer :link_id
|
|
t.integer :user_id
|
|
t.text :body_html
|
|
t.boolean :edited, default: false
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|