1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-09 21:23:58 +00:00

Change timestamp data type. (#4355)

Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
This commit is contained in:
gzfrozen 2024-03-18 06:04:37 +09:00 committed by GitHub
parent 29144b2ce0
commit 000c606029
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 12 additions and 7 deletions

View file

@ -0,0 +1 @@
ALTER TABLE twofactor MODIFY last_used BIGINT NOT NULL;

View file

@ -0,0 +1,3 @@
ALTER TABLE twofactor
ALTER COLUMN last_used TYPE BIGINT,
ALTER COLUMN last_used SET NOT NULL;

View file

@ -0,0 +1 @@
-- Integer size in SQLite is already i64, so we don't need to do anything