discourse/db/migrate/20151117165756_add_automatically_unpin_topics_to_users.rb

6 lines
187 B
Ruby

class AddAutomaticallyUnpinTopicsToUsers < ActiveRecord::Migration[4.2]
def change
add_column :users, :automatically_unpin_topics, :boolean, nullabe: false, default: true
end
end