* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
7 lines
268 B
Ruby
7 lines
268 B
Ruby
class AddBannedStatusToUsers < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :users, :banned, :boolean, default: false
|
|
add_column :articles, :removed_for_abuse, :boolean, default: false
|
|
add_column :articles, :abuse_removal_reason, :string
|
|
end
|
|
end
|