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

[PM-5519] [PM-5526] [PM-5624] [PM-5600] Tweak EF settings for MySQL grant auto-increment (#3662)

* Tweak EF settings for grant auto-increment

* Go back to zero generated default as that doesn't matter

* Explicit value generation callout

* Go with custom SQL for direct automatic increment

* Proper column creation

* Lint
This commit is contained in:
Matt Bishop
2024-01-11 16:06:29 -05:00
committed by GitHub
parent 23f9d2261d
commit db4d7aa609
5 changed files with 12 additions and 12 deletions

View File

@ -486,7 +486,8 @@ namespace Bit.SqliteMigrations.Migrations
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
.HasColumnType("INTEGER")
.HasAnnotation("Sqlite:Autoincrement", true);
b.Property<string>("ClientId")
.IsRequired()