mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 06:39:52 +01:00
Add last_reports_visit
field to users
This commit is contained in:
parent
f87d5c4a43
commit
175a044fbf
2 changed files with 9 additions and 1 deletions
|
@ -0,0 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AddLastReportsVisitToUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :users, :last_reports_visit, :datetime
|
||||
end
|
||||
end
|
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_01_27_112216) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_03_01_203930) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
||||
|
@ -369,6 +369,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_01_27_112216) do
|
|||
t.string "sharing_custom_url"
|
||||
t.datetime "notifications_updated_at", precision: nil
|
||||
t.datetime "inbox_updated_at", precision: nil
|
||||
t.datetime "last_reports_visit"
|
||||
t.index "lower((screen_name)::text)", name: "index_users_on_LOWER_screen_name", unique: true
|
||||
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
|
||||
t.index ["email"], name: "index_users_on_email", unique: true
|
||||
|
|
Loading…
Reference in a new issue