add device token
This commit is contained in:
@@ -590,6 +590,10 @@ namespace GreenHome.Infrastructure.Migrations
|
||||
b.Property<int>("DeviceId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("DevicePhoneNumber")
|
||||
.IsRequired()
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<decimal?>("Latitude")
|
||||
.HasColumnType("decimal(9,6)");
|
||||
|
||||
@@ -616,9 +620,24 @@ namespace GreenHome.Infrastructure.Migrations
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("nvarchar(100)");
|
||||
|
||||
b.Property<int?>("SimCardType")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("TokenCode")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.Property<DateTime?>("TokenExpiresAt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<DateTime>("UpdatedAt")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
b.Property<int>("UploadIntervalMin")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("VerificationCode")
|
||||
.HasColumnType("nvarchar(max)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("DeviceId")
|
||||
|
||||
Reference in New Issue
Block a user