change int to ulong discord id

This commit is contained in:
Дмитрий Шиманский
2023-12-19 17:36:46 +03:00
parent 4d086ae1e4
commit 43520544ed
4 changed files with 216 additions and 5 deletions

View File

@@ -30,8 +30,8 @@ namespace yaflay.ru.Migrations
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<int>("discordId")
.HasColumnType("integer");
b.Property<decimal>("discordId")
.HasColumnType("numeric(20,0)");
b.Property<string>("discordNickName")
.IsRequired()
@@ -114,11 +114,9 @@ namespace yaflay.ru.Migrations
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("Id"));
b.Property<string>("redirectTo")
.IsRequired()
.HasColumnType("text");
b.Property<string>("uri")
.IsRequired()
.HasColumnType("text");
b.HasKey("Id");