mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-05 05:30:44 +08:00
This commit promotes all post_deploy migrations which existed in Discourse v2.6.7 (timestamp <= 20201110110952)
11 lines
280 B
Ruby
11 lines
280 B
Ruby
# frozen_string_literal: true
|
|
|
|
class RemoveBookmarksDeleteWhenReminderSent < ActiveRecord::Migration[6.0]
|
|
def up
|
|
remove_column :bookmarks, :delete_when_reminder_sent
|
|
end
|
|
|
|
def down
|
|
add_column :bookmarks, :delete_when_reminder_sent, :boolean, default: false
|
|
end
|
|
end
|