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:
@ -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")
|
||||
|
Reference in New Issue
Block a user