From 082b4c8b7621b3391101f276ca654a27a23de6e8 Mon Sep 17 00:00:00 2001
From: Evgencheg <7064926@gmail.com>
Date: Sat, 12 Oct 2024 19:40:27 +0300
Subject: [PATCH] fix things
---
.github/workflows/test-secrets4.yml | 1 +
.../Postgres/20241011054803_CustomSpecieName.cs | 15 ++++-----------
.../Sqlite/20241011054803_CustomSpecieName.cs | 15 ++++-----------
3 files changed, 9 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/test-secrets4.yml b/.github/workflows/test-secrets4.yml
index ff5fe422c8..8bcbd24e1d 100644
--- a/.github/workflows/test-secrets4.yml
+++ b/.github/workflows/test-secrets4.yml
@@ -9,6 +9,7 @@ on:
jobs:
validate_rsis:
name: Validate RSIs
+ if: github.actor != 'PJBot' && github.event.pull_request.draft == false && github.actor != 'DeltaV-Bot' && github.actor != 'SimpleStation14' && github.actor != 'Lost-Paradise-Bot' && github.repository == 'Lost-Paradise-Project/Lost-Paradise'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.6.0
diff --git a/Content.Server.Database/Migrations/Postgres/20241011054803_CustomSpecieName.cs b/Content.Server.Database/Migrations/Postgres/20241011054803_CustomSpecieName.cs
index ecbbb46eb5..2f87c869eb 100644
--- a/Content.Server.Database/Migrations/Postgres/20241011054803_CustomSpecieName.cs
+++ b/Content.Server.Database/Migrations/Postgres/20241011054803_CustomSpecieName.cs
@@ -10,27 +10,20 @@ public partial class CustomSpecieName : Migration
///
protected override void Up(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AlterColumn(
+ migrationBuilder.AddColumn(
name: "custom_specie_name",
table: "profile",
type: "text",
nullable: false,
- defaultValue: "",
- oldClrType: typeof(string),
- oldType: "text",
- oldNullable: true);
+ defaultValue: "");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AlterColumn(
+ migrationBuilder.DropColumn(
name: "custom_specie_name",
- table: "profile",
- type: "text",
- nullable: true,
- oldClrType: typeof(string),
- oldType: "text");
+ table: "profile");
}
}
}
diff --git a/Content.Server.Database/Migrations/Sqlite/20241011054803_CustomSpecieName.cs b/Content.Server.Database/Migrations/Sqlite/20241011054803_CustomSpecieName.cs
index d48c7f87d9..a1e968045b 100644
--- a/Content.Server.Database/Migrations/Sqlite/20241011054803_CustomSpecieName.cs
+++ b/Content.Server.Database/Migrations/Sqlite/20241011054803_CustomSpecieName.cs
@@ -10,27 +10,20 @@ public partial class CustomSpecieName : Migration
///
protected override void Up(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AlterColumn(
+ migrationBuilder.AddColumn(
name: "custom_specie_name",
table: "profile",
type: "TEXT",
nullable: false,
- defaultValue: "",
- oldClrType: typeof(string),
- oldType: "TEXT",
- oldNullable: true);
+ defaultValue: "");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
- migrationBuilder.AlterColumn(
+ migrationBuilder.DropColumn(
name: "custom_specie_name",
- table: "profile",
- type: "TEXT",
- nullable: true,
- oldClrType: typeof(string),
- oldType: "TEXT");
+ table: "profile");
}
}
}