mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:04:11 +08:00
DEV: Add last_seen_reviewable_id to the users table (#16666)
We're adding this column now in preparation for a future commit(s) that will redesign the avatar/notifications menu. The reason the column is added in a separate commit is because the redesign changes are going to be complex with a high risk of getting (temporarily) reverted and if they included a database migration, they wouldn't revert cleanly/easily. Internal ticket: t65045.
This commit is contained in:
parent
337cacc7bf
commit
7e026e8ddf
|
@ -1835,6 +1835,7 @@ end
|
|||
# manual_locked_trust_level :integer
|
||||
# secure_identifier :string
|
||||
# flair_group_id :integer
|
||||
# last_seen_reviewable_id :integer
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddLastSeenReviewableIdToUser < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :users, :last_seen_reviewable_id, :integer
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user