1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

add timestamps to user table for security related events (#2660)

* add timestamps to user table for security related events

* ef migrations

* fix lint problems

* formatting

* add missing namespace back

* move `now` up some

* review fixes

* add missing view rebuild to migration script
This commit is contained in:
Kyle Spearrin
2023-02-02 14:39:57 -05:00
committed by GitHub
parent 0ce95ec147
commit 7e74695afc
18 changed files with 6970 additions and 13 deletions

View File

@ -1219,9 +1219,21 @@ namespace Bit.MySqlMigrations.Migrations
b.Property<string>("Key")
.HasColumnType("longtext");
b.Property<DateTime?>("LastEmailChangeDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("LastFailedLoginDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("LastKdfChangeDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("LastKeyRotationDate")
.HasColumnType("datetime(6)");
b.Property<DateTime?>("LastPasswordChangeDate")
.HasColumnType("datetime(6)");
b.Property<string>("LicenseKey")
.HasMaxLength(100)
.HasColumnType("varchar(100)");