discourse/db/migrate/20151117165756_add_automati...

8 lines
218 B
Ruby

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