mirror of
https://github.com/discourse/discourse.git
synced 2025-10-03 17:21:20 +08:00
DEV: Promote historic post_deploy migrations (#34273)
This commit promotes all post_deploy migrations which existed in Discourse v3.4.0 (timestamp <= 20241023041126)
This commit is contained in:
parent
a2129c5c28
commit
9f12dd28f9
10 changed files with 0 additions and 19 deletions
|
@ -1,10 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class Notification < ActiveRecord::Base
|
||||
self.ignored_columns = [
|
||||
:old_id, # TODO: Remove once 20240829140226_drop_old_notification_id_columns has been promoted to pre-deploy
|
||||
]
|
||||
|
||||
attr_accessor :acting_user
|
||||
attr_accessor :acting_username
|
||||
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class ShelvedNotification < ActiveRecord::Base
|
||||
self.ignored_columns = [
|
||||
:old_notification_id, # TODO: Remove once 20240829140226_drop_old_notification_id_columns has been promoted to pre-deploy
|
||||
]
|
||||
|
||||
belongs_to :notification
|
||||
|
||||
def process
|
||||
|
|
|
@ -1,13 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class User < ActiveRecord::Base
|
||||
self.ignored_columns = [
|
||||
:salt, # TODO: Remove when DropPasswordColumnsFromUsers has been promoted to pre-deploy.
|
||||
:password_hash, # TODO: Remove when DropPasswordColumnsFromUsers has been promoted to pre-deploy.
|
||||
:password_algorithm, # TODO: Remove when DropPasswordColumnsFromUsers has been promoted to pre-deploy.
|
||||
:old_seen_notification_id, # TODO: Remove once 20240829140226_drop_old_notification_id_columns has been promoted to pre-deploy
|
||||
]
|
||||
|
||||
include Searchable
|
||||
include Roleable
|
||||
include HasCustomFields
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class UserBadge < ActiveRecord::Base
|
||||
self.ignored_columns = [
|
||||
:old_notification_id, # TODO: Remove once 20240829140226_drop_old_notification_id_columns has been promoted to pre-deploy
|
||||
]
|
||||
|
||||
belongs_to :badge
|
||||
belongs_to :user
|
||||
belongs_to :granted_by, class_name: "User"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue