Revert "Fix BD part 3"

This reverts commit 0bbba82e8a.
This commit is contained in:
Remuchi
2025-04-20 11:34:29 +07:00
parent 1e363c7346
commit 3deb00ccb1
6 changed files with 35 additions and 52 deletions

View File

@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
using System;
using System.Net;
using System.Text.Json;
@@ -15,7 +15,7 @@ using NpgsqlTypes;
namespace Content.Server.Database.Migrations.Postgres
{
[DbContext(typeof(PostgresServerDbContext))]
[Migration("20250419205006_ClownName")]
[Migration("20250419183117_ClownName")]
partial class ClownName
{
/// <inheritdoc />
@@ -842,11 +842,6 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnType("text")
.HasColumnName("backpack");
b.Property<string>("BodyType")
.IsRequired()
.HasColumnType("text")
.HasColumnName("body_type");
b.Property<string>("CharacterName")
.IsRequired()
.HasColumnType("text")
@@ -858,7 +853,7 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnName("clothing");
b.Property<string>("ClownName")
.HasColumnType("TEXT")
.HasColumnType("text")
.HasColumnName("clown_name");
b.Property<string>("CustomSpecieName")
@@ -967,11 +962,6 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnType("text")
.HasColumnName("station_ai_name");
b.Property<string>("Voice")
.IsRequired()
.HasColumnType("text")
.HasColumnName("voice");
b.Property<float>("Width")
.HasColumnType("real")
.HasColumnName("width");

View File

@@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
@@ -13,7 +13,7 @@ namespace Content.Server.Database.Migrations.Postgres
migrationBuilder.AddColumn<string>(
name: "clown_name",
table: "profile",
type: "TEXT",
type: "text",
nullable: true);
}

View File

@@ -839,11 +839,6 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnType("text")
.HasColumnName("backpack");
b.Property<string>("BodyType")
.IsRequired()
.HasColumnType("text")
.HasColumnName("body_type");
b.Property<string>("CharacterName")
.IsRequired()
.HasColumnType("text")
@@ -855,7 +850,7 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnName("clothing");
b.Property<string>("ClownName")
.HasColumnType("TEXT")
.HasColumnType("text")
.HasColumnName("clown_name");
b.Property<string>("CustomSpecieName")
@@ -942,6 +937,18 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnType("text")
.HasColumnName("sex");
// WD EDIT START
b.Property<string>("Voice")
.IsRequired()
.HasColumnType("text")
.HasColumnName("voice");
b.Property<string>("BodyType")
.IsRequired()
.HasColumnType("text")
.HasColumnName("body_type");
// WD EDIT END
b.Property<string>("SkinColor")
.IsRequired()
.HasColumnType("text")
@@ -964,11 +971,6 @@ namespace Content.Server.Database.Migrations.Postgres
.HasColumnType("text")
.HasColumnName("station_ai_name");
b.Property<string>("Voice")
.IsRequired()
.HasColumnType("text")
.HasColumnName("voice");
b.Property<float>("Width")
.HasColumnType("real")
.HasColumnName("width");

View File

@@ -1,4 +1,4 @@
// <auto-generated />
// <auto-generated />
using System;
using Content.Server.Database;
using Microsoft.EntityFrameworkCore;
@@ -11,10 +11,9 @@ using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Content.Server.Database.Migrations.Sqlite
{
[DbContext(typeof(SqliteServerDbContext))]
[Migration("20250419204924_ClownName")]
[Migration("20250419183117_ClownName")]
partial class ClownName
{
/// <inheritdoc />
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
@@ -791,11 +790,6 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnType("TEXT")
.HasColumnName("backpack");
b.Property<string>("BodyType")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("body_type");
b.Property<string>("CharacterName")
.IsRequired()
.HasColumnType("TEXT")
@@ -807,7 +801,7 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnName("clothing");
b.Property<string>("ClownName")
.HasColumnType("TEXT")
.HasColumnType("text")
.HasColumnName("clown_name");
b.Property<string>("CustomSpecieName")
@@ -916,11 +910,6 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnType("TEXT")
.HasColumnName("station_ai_name");
b.Property<string>("Voice")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("voice");
b.Property<float>("Width")
.HasColumnType("REAL")
.HasColumnName("width");

View File

@@ -1,4 +1,4 @@
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable

View File

@@ -788,11 +788,6 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnType("TEXT")
.HasColumnName("backpack");
b.Property<string>("BodyType")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("body_type");
b.Property<string>("CharacterName")
.IsRequired()
.HasColumnType("TEXT")
@@ -804,7 +799,7 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnName("clothing");
b.Property<string>("ClownName")
.HasColumnType("TEXT")
.HasColumnType("text")
.HasColumnName("clown_name");
b.Property<string>("CustomSpecieName")
@@ -891,6 +886,18 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnType("TEXT")
.HasColumnName("sex");
// WD EDIT START
b.Property<string>("Voice")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("voice");
b.Property<string>("BodyType")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("body_type");
// WD EDIT END
b.Property<string>("SkinColor")
.IsRequired()
.HasColumnType("TEXT")
@@ -913,11 +920,6 @@ namespace Content.Server.Database.Migrations.Sqlite
.HasColumnType("TEXT")
.HasColumnName("station_ai_name");
b.Property<string>("Voice")
.IsRequired()
.HasColumnType("TEXT")
.HasColumnName("voice");
b.Property<float>("Width")
.HasColumnType("REAL")
.HasColumnName("width");