Add whitelisting service + update the jwt valid audience
This commit is contained in:
@@ -1325,6 +1325,63 @@ namespace Managing.Infrastructure.Databases.Migrations
|
||||
b.ToTable("Users");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Managing.Infrastructure.Databases.PostgreSql.Entities.WhitelistAccountEntity", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("integer");
|
||||
|
||||
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("EmbeddedWallet")
|
||||
.IsRequired()
|
||||
.HasMaxLength(42)
|
||||
.HasColumnType("character varying(42)");
|
||||
|
||||
b.Property<string>("ExternalEthereumAccount")
|
||||
.HasMaxLength(42)
|
||||
.HasColumnType("character varying(42)");
|
||||
|
||||
b.Property<bool>("IsWhitelisted")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false);
|
||||
|
||||
b.Property<DateTime>("PrivyCreationDate")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.Property<string>("PrivyId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(255)
|
||||
.HasColumnType("character varying(255)");
|
||||
|
||||
b.Property<string>("TwitterAccount")
|
||||
.HasMaxLength(255)
|
||||
.HasColumnType("character varying(255)");
|
||||
|
||||
b.Property<DateTime?>("UpdatedAt")
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("CreatedAt");
|
||||
|
||||
b.HasIndex("EmbeddedWallet")
|
||||
.IsUnique();
|
||||
|
||||
b.HasIndex("ExternalEthereumAccount");
|
||||
|
||||
b.HasIndex("PrivyId")
|
||||
.IsUnique();
|
||||
|
||||
b.HasIndex("TwitterAccount");
|
||||
|
||||
b.ToTable("WhitelistAccounts");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Managing.Infrastructure.Databases.PostgreSql.Entities.WorkerEntity", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
|
||||
Reference in New Issue
Block a user