mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-12 01:45:56 -05:00
[PR #4355] [MERGED] Change timestamp data type. #7057
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4355
Author: @gzfrozen
Created: 2/15/2024
Status: ✅ Merged
Merged: 3/17/2024
Merged by: @dani-garcia
Base:
main← Head:Use-64bit-timestamps-in-TOTP📝 Commits (2)
f522308Change timestamp data type.ad12b40Merge branch 'main' into Use-64bit-timestamps-in-TOTP📊 Changes
11 files changed (+12 additions, -7 deletions)
View changed files
➕
migrations/mysql/2024-02-14-135828_change_time_stamp_data_type/down.sql(+0 -0)➕
migrations/mysql/2024-02-14-135828_change_time_stamp_data_type/up.sql(+1 -0)➕
migrations/postgresql/2024-02-14-135953_change_time_stamp_data_type/down.sql(+0 -0)➕
migrations/postgresql/2024-02-14-135953_change_time_stamp_data_type/up.sql(+3 -0)➕
migrations/sqlite/2024-02-14-140000_change_time_stamp_data_type/down.sql(+0 -0)➕
migrations/sqlite/2024-02-14-140000_change_time_stamp_data_type/up.sql(+1 -0)📝
src/api/core/two_factor/authenticator.rs(+3 -3)📝
src/db/models/two_factor.rs(+1 -1)📝
src/db/schemas/mysql/schema.rs(+1 -1)📝
src/db/schemas/postgresql/schema.rs(+1 -1)📝
src/db/schemas/sqlite/schema.rs(+1 -1)📄 Description
Fix the "Year 2038 problem".
last_usedintwofactortable.I am not confident if it is the only "Year 2038 problem". If there are still other problems please let me know.
Fixes #4177
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.