chore(schema): add announces_seen_at to users

This commit is contained in:
Colin Darie 2023-10-18 13:57:33 +02:00
parent f522b45fc3
commit 3ac1688fe4
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
2 changed files with 6 additions and 0 deletions

View file

@ -0,0 +1,5 @@
class AddAnnouncesSeenAtToUsers < ActiveRecord::Migration[7.0]
def change
add_column :users, :announces_seen_at, :datetime, null: true, default: nil, precision: 6
end
end

View file

@ -1032,6 +1032,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_10_26_161609) do
create_table "users", id: :serial, force: :cascade do |t|
t.datetime "confirmation_sent_at", precision: 6
t.datetime "blocked_at", precision: 6
t.datetime "announces_seen_at", precision: 6
t.text "blocked_reason"
t.string "confirmation_token"
t.datetime "confirmed_at", precision: 6