mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to db/*
This commit is contained in:
@@ -3,12 +3,10 @@
|
||||
class MigrateAtDesktopBookmarkReminders < ActiveRecord::Migration[6.0]
|
||||
def up
|
||||
# reminder_type 0 is at_desktop, which is no longer valid
|
||||
DB.exec(
|
||||
<<~SQL, now: Time.zone.now
|
||||
DB.exec(<<~SQL, now: Time.zone.now)
|
||||
UPDATE bookmarks SET reminder_type = NULL, reminder_at = NULL, updated_at = :now
|
||||
WHERE reminder_type = 0
|
||||
SQL
|
||||
)
|
||||
end
|
||||
|
||||
def down
|
||||
|
||||
Reference in New Issue
Block a user