Merge remote-tracking branch 'parent/main' into upstream-20240426
This commit is contained in:
commit
c4017eb993
22 changed files with 389 additions and 146 deletions
|
@ -0,0 +1,15 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class MoveAccountWarningNotifications < ActiveRecord::Migration[7.1]
|
||||
disable_ddl_transaction!
|
||||
|
||||
class Notification < ApplicationRecord; end
|
||||
|
||||
def up
|
||||
Notification.where(type: 'warning').in_batches.update_all(type: 'moderation_warning')
|
||||
end
|
||||
|
||||
def down
|
||||
Notification.where(type: 'moderation_warning').in_batches.update_all(type: 'warning')
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_04_01_222541) do
|
||||
ActiveRecord::Schema[7.1].define(version: 2024_04_26_000034) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue