discourse/db/migrate/20151117165756_add_automatically_unpin_topics_to_users.rb
Josh Soref 308c032293
DEV: Fix spelling mistakes in DB migrations (#12811)
* spelling: initial
* spelling: integer
* spelling: irreversible
* spelling: mislabeled
* spelling: notification
* spelling: nullable
* spelling: targeted
2021-04-23 18:25:10 +02:00

8 lines
215 B
Ruby

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