Store round start date in the database (#21153)
This commit is contained in:
@@ -856,12 +856,20 @@ namespace Content.Server.Database.Migrations.Postgres
|
||||
.HasColumnType("integer")
|
||||
.HasColumnName("server_id");
|
||||
|
||||
b.Property<DateTime>("StartDate")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("timestamp with time zone")
|
||||
.HasDefaultValue(new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified))
|
||||
.HasColumnName("start_date");
|
||||
|
||||
b.HasKey("Id")
|
||||
.HasName("PK_round");
|
||||
|
||||
b.HasIndex("ServerId")
|
||||
.HasDatabaseName("IX_round_server_id");
|
||||
|
||||
b.HasIndex("StartDate");
|
||||
|
||||
b.ToTable("round", (string)null);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user