mirror of
https://github.com/bitwarden/server.git
synced 2025-01-30 23:11:22 +01:00
[AC-1682] Bumped up dates on EF migrations
This commit is contained in:
parent
6d1ead5b61
commit
a24465b137
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123253_FCAccessAllCollectionGroups")]
|
||||
[Migration("20240216131258_FCAccessAllCollectionGroups")]
|
||||
partial class FCAccessAllCollectionGroups
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -20,7 +20,7 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
@ -139,9 +139,6 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@ -536,8 +533,12 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
.HasColumnType("varchar(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -593,10 +594,20 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123310_FCAccessAllCollectionUsers")]
|
||||
[Migration("20240216131332_FCAccessAllCollectionUsers")]
|
||||
partial class FCAccessAllCollectionUsers
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -20,7 +20,7 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
@ -139,9 +139,6 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@ -536,8 +533,12 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
.HasColumnType("varchar(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -593,10 +594,20 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123340_FCManagersEditAssignedCollectionUsers")]
|
||||
[Migration("20240216131454_FCManagersEditAssignedCollectionUsers")]
|
||||
partial class FCManagersEditAssignedCollectionUsers
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -20,7 +20,7 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
@ -139,9 +139,6 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@ -536,8 +533,12 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
.HasColumnType("varchar(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -593,10 +594,20 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123440_FCEnableOrgsFlexibleCollections")]
|
||||
[Migration("20240216131550_FCEnableOrgsFlexibleCollections")]
|
||||
partial class FCEnableOrgsFlexibleCollections
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -20,7 +20,7 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 64);
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
@ -139,9 +139,6 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
@ -536,8 +533,12 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
.HasColumnType("varchar(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -593,10 +594,20 @@ namespace Bit.MySqlMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123257_FCAccessAllCollectionGroups")]
|
||||
[Migration("20240216131303_FCAccessAllCollectionGroups")]
|
||||
partial class FCAccessAllCollectionGroups
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -21,7 +21,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("Npgsql:CollationDefinition:postgresIndetermanisticCollation", "en-u-ks-primary,en-u-ks-primary,icu,False")
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@ -143,9 +143,6 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
@ -542,8 +539,12 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
.HasColumnType("character varying(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -604,10 +605,21 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
NpgsqlIndexBuilderExtensions.IncludeProperties(b.HasIndex("OrganizationId", "ExternalId"), new[] { "UserId" });
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123314_FCAccessAllCollectionUsers")]
|
||||
[Migration("20240216131336_FCAccessAllCollectionUsers")]
|
||||
partial class FCAccessAllCollectionUsers
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -21,7 +21,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("Npgsql:CollationDefinition:postgresIndetermanisticCollation", "en-u-ks-primary,en-u-ks-primary,icu,False")
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@ -143,9 +143,6 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
@ -542,8 +539,12 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
.HasColumnType("character varying(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -604,10 +605,21 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
NpgsqlIndexBuilderExtensions.IncludeProperties(b.HasIndex("OrganizationId", "ExternalId"), new[] { "UserId" });
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123331_FCManagersEditAssignedCollectionUsers")]
|
||||
[Migration("20240216131450_FCManagersEditAssignedCollectionUsers")]
|
||||
partial class FCManagersEditAssignedCollectionUsers
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -21,7 +21,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("Npgsql:CollationDefinition:postgresIndetermanisticCollation", "en-u-ks-primary,en-u-ks-primary,icu,False")
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@ -143,9 +143,6 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
@ -542,8 +539,12 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
.HasColumnType("character varying(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -604,10 +605,21 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
NpgsqlIndexBuilderExtensions.IncludeProperties(b.HasIndex("OrganizationId", "ExternalId"), new[] { "UserId" });
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.PostgresMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123436_FCEnableOrgsFlexibleCollections")]
|
||||
[Migration("20240216131554_FCEnableOrgsFlexibleCollections")]
|
||||
partial class FCEnableOrgsFlexibleCollections
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@ -21,7 +21,7 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("Npgsql:CollationDefinition:postgresIndetermanisticCollation", "en-u-ks-primary,en-u-ks-primary,icu,False")
|
||||
.HasAnnotation("ProductVersion", "7.0.14")
|
||||
.HasAnnotation("ProductVersion", "7.0.15")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
||||
@ -143,9 +143,6 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("boolean");
|
||||
|
||||
@ -542,8 +539,12 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
.HasColumnType("character varying(50)");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -604,10 +605,21 @@ namespace Bit.PostgresMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
NpgsqlIndexBuilderExtensions.IncludeProperties(b.HasIndex("OrganizationId", "ExternalId"), new[] { "UserId" });
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,14 +12,14 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.SqliteMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123248_FCAccessAllCollectionGroups")]
|
||||
[Migration("20240216131307_FCAccessAllCollectionGroups")]
|
||||
partial class FCAccessAllCollectionGroups
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.14");
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.15");
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
{
|
||||
@ -137,9 +137,6 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@ -534,8 +531,12 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -591,10 +592,20 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,14 +12,14 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.SqliteMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123318_FCAccessAllCollectionUsers")]
|
||||
[Migration("20240216131327_FCAccessAllCollectionUsers")]
|
||||
partial class FCAccessAllCollectionUsers
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.14");
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.15");
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
{
|
||||
@ -137,9 +137,6 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@ -534,8 +531,12 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -591,10 +592,20 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,14 +12,14 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.SqliteMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123335_FCManagersEditAssignedCollectionUsers")]
|
||||
[Migration("20240216131445_FCManagersEditAssignedCollectionUsers")]
|
||||
partial class FCManagersEditAssignedCollectionUsers
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.14");
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.15");
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
{
|
||||
@ -137,9 +137,6 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@ -534,8 +531,12 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -591,10 +592,20 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
@ -12,14 +12,14 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace Bit.SqliteMigrations.Migrations
|
||||
{
|
||||
[DbContext(typeof(DatabaseContext))]
|
||||
[Migration("20240112123445_FCEnableOrgsFlexibleCollections")]
|
||||
[Migration("20240216131546_FCEnableOrgsFlexibleCollections")]
|
||||
partial class FCEnableOrgsFlexibleCollections
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.14");
|
||||
modelBuilder.HasAnnotation("ProductVersion", "7.0.15");
|
||||
|
||||
modelBuilder.Entity("Bit.Infrastructure.EntityFramework.AdminConsole.Models.Organization", b =>
|
||||
{
|
||||
@ -137,9 +137,6 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
b.Property<int?>("Seats")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SecretsManagerBeta")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<bool>("SelfHost")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@ -534,8 +531,12 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_Grant")
|
||||
.HasAnnotation("SqlServer:Clustered", true);
|
||||
|
||||
b.HasIndex("ExpirationDate")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("Key")
|
||||
.IsUnique();
|
||||
|
||||
@ -591,10 +592,20 @@ namespace Bit.SqliteMigrations.Migrations
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("OrganizationId");
|
||||
b.HasIndex("OrganizationId")
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex("OrganizationId", "ExternalId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("Npgsql:IndexInclude", new[] { "UserId" })
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.HasIndex("OrganizationId", "UserId")
|
||||
.IsUnique()
|
||||
.HasAnnotation("SqlServer:Clustered", false);
|
||||
|
||||
b.ToTable("SsoUser", (string)null);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user