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