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

Sync EF migrations for .NET / EF Core 8 (#4448)

* Sync EF migrations for .NET 8

* Format

* Redo migrations with billing fix

* Forgot to format again
This commit is contained in:
Matt Bishop
2024-07-02 10:08:34 -04:00
committed by GitHub
parent 554a004d7a
commit e8c5d73062
10 changed files with 8323 additions and 23 deletions

View File

@ -15,7 +15,7 @@ namespace Bit.SqliteMigrations.Migrations
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "7.0.16");
modelBuilder.HasAnnotation("ProductVersion", "8.0.6");
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
{
@ -680,18 +680,22 @@ namespace Bit.SqliteMigrations.Migrations
.HasColumnType("INTEGER");
b.Property<string>("ClientName")
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<DateTime>("Created")
.HasColumnType("TEXT");
b.Property<string>("InvoiceId")
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<string>("InvoiceNumber")
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<string>("PlanName")
.HasMaxLength(50)
.HasColumnType("TEXT");
b.Property<Guid>("ProviderId")
@ -707,9 +711,6 @@ namespace Bit.SqliteMigrations.Migrations
b.HasIndex("ProviderId");
b.HasIndex("Id", "InvoiceId")
.IsUnique();
b.ToTable("ProviderInvoiceItem", (string)null);
});
@ -1545,6 +1546,7 @@ namespace Bit.SqliteMigrations.Migrations
b.Property<string>("Discriminator")
.IsRequired()
.HasMaxLength(34)
.HasColumnType("TEXT");
b.Property<bool>("Read")