add expiration_notices_sent_at [date] column to api_token
This commit is contained in:
parent
50b9813b4d
commit
1b2601f32c
2 changed files with 7 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddExpirationNoticesSentAtColumnToAPIToken < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :api_tokens, :expiration_notices_sent_at, :date, array: true, default: []
|
||||
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_16_155926) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_01_23_085909) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pgcrypto"
|
||||
enable_extension "plpgsql"
|
||||
|
@ -96,6 +96,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_01_16_155926) do
|
|||
t.inet "authorized_networks", default: [], array: true
|
||||
t.datetime "created_at", null: false
|
||||
t.string "encrypted_token", null: false
|
||||
t.date "expiration_notices_sent_at", default: [], array: true
|
||||
t.datetime "last_v1_authenticated_at"
|
||||
t.datetime "last_v2_authenticated_at"
|
||||
t.string "name", null: false
|
||||
|
|
Loading…
Reference in a new issue