From 80474854c7e80066a5489090d8c4d553ab32df89 Mon Sep 17 00:00:00 2001 From: TAZIKLIK <73418250+Evgencheg@users.noreply.github.com> Date: Sun, 8 Sep 2024 22:49:02 +0300 Subject: [PATCH] =?UTF-8?q?Revert=20"=D0=BF=D1=80=D0=BE=D0=B2=D0=B5=D1=80?= =?UTF-8?q?=D0=BA=D0=B0=20=D1=84=D0=B8=D0=BA=D1=81=D0=B0=20=D0=B1=D0=B4"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fa9df7c62c334a727ec53f1d735bd81035faff74. --- .../Postgres/20240906145851_Sponsors.Designer.cs | 6 +++--- .../Migrations/Postgres/20240906145851_Sponsors.cs | 4 ++-- .../20240906151158_Sponsors-allowjob.Designer.cs | 6 +++--- .../Postgres/20240906151158_Sponsors-allowjob.cs | 4 ++-- .../Postgres/20240906152028_Donate.Designer.cs | 6 +++--- .../Migrations/Postgres/20240906152028_Donate.cs | 4 ++-- .../Postgres/PostgresServerDbContextModelSnapshot.cs | 10 +++++----- .../Sqlite/20240906145842_Sponsors.Designer.cs | 6 +++--- .../Migrations/Sqlite/20240906145842_Sponsors.cs | 4 ++-- .../20240906151148_Sponsors-allowjob.Designer.cs | 6 +++--- .../Sqlite/20240906151148_Sponsors-allowjob.cs | 4 ++-- .../Sqlite/20240906152019_Donate.Designer.cs | 6 +++--- .../Migrations/Sqlite/20240906152019_Donate.cs | 4 ++-- .../Sqlite/SqliteServerDbContextModelSnapshot.cs | 10 +++++----- 14 files changed, 40 insertions(+), 40 deletions(-) diff --git a/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.Designer.cs b/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.Designer.cs index ab8009bffd..727a2d8e28 100644 --- a/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.Designer.cs +++ b/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.Designer.cs @@ -1,5 +1,5 @@ -// -//#if LPP_Sponsors +// +#if LPP_Sponsors using System; using System.Net; using System.Text.Json; @@ -1857,4 +1857,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.cs b/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.cs index 9e6996e6da..d3742d4ffb 100644 --- a/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.cs +++ b/Content.Server.Database/Migrations/Postgres/20240906145851_Sponsors.cs @@ -1,4 +1,4 @@ -//#if LPP_Sponsors +#if LPP_Sponsors using System; using Microsoft.EntityFrameworkCore.Migrations; @@ -44,4 +44,4 @@ protected override void Down(MigrationBuilder migrationBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.Designer.cs b/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.Designer.cs index 0dfd9e5165..cae54f9b98 100644 --- a/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.Designer.cs +++ b/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.Designer.cs @@ -1,5 +1,5 @@ -// -//#if LPP_Sponsors +// +#if LPP_Sponsors using System; using System.Net; using System.Text.Json; @@ -1861,4 +1861,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.cs b/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.cs index 344e4ce0cb..c6053191de 100644 --- a/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.cs +++ b/Content.Server.Database/Migrations/Postgres/20240906151158_Sponsors-allowjob.cs @@ -1,4 +1,4 @@ -//#if LPP_Sponsors +#if LPP_Sponsors using Microsoft.EntityFrameworkCore.Migrations; #nullable disable @@ -28,4 +28,4 @@ protected override void Down(MigrationBuilder migrationBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.Designer.cs b/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.Designer.cs index b508233e00..e27224b6d0 100644 --- a/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.Designer.cs +++ b/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.Designer.cs @@ -1,5 +1,5 @@ -// -//#if LPP_Sponsors +// +#if LPP_Sponsors using System; using System.Net; using System.Text.Json; @@ -1886,4 +1886,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.cs b/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.cs index 4951d8b79e..c250b88cc6 100644 --- a/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.cs +++ b/Content.Server.Database/Migrations/Postgres/20240906152028_Donate.cs @@ -1,4 +1,4 @@ -//#if LPP_Sponsors +#if LPP_Sponsors using Microsoft.EntityFrameworkCore.Migrations; #nullable disable @@ -45,4 +45,4 @@ protected override void Down(MigrationBuilder migrationBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs b/Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs index ae85181123..58a4d3030d 100644 --- a/Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs +++ b/Content.Server.Database/Migrations/Postgres/PostgresServerDbContextModelSnapshot.cs @@ -1,4 +1,4 @@ -// +// using System; using System.Net; using System.Text.Json; @@ -566,7 +566,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) t.HasCheckConstraint("AddressNotIPv6MappedIPv4", "NOT inet '::ffff:0.0.0.0/96' >>= address"); }); }); -//#if LPP_Sponsors +#if LPP_Sponsors modelBuilder.Entity("Content.Server.Database.Donate", b => { b.Property("Id") @@ -591,7 +591,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("donate", (string)null); }); -//#endif +#endif modelBuilder.Entity("Content.Server.Database.Job", b => { b.Property("Id") @@ -1236,7 +1236,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("server_unban", (string)null); }); -// #if LPP_Sponsors +#if LPP_Sponsors modelBuilder.Entity("Content.Server.Database.Sponsor", b => { b.Property("UserId") @@ -1278,7 +1278,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("sponsors", (string)null); }); -//#endif +#endif modelBuilder.Entity("Content.Server.Database.Trait", b => { b.Property("Id") diff --git a/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.Designer.cs b/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.Designer.cs index f07267f972..5dbcedf7ac 100644 --- a/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.Designer.cs +++ b/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.Designer.cs @@ -1,5 +1,5 @@ -// -//#if LPP_Sponsors +// +#if LPP_Sponsors using System; using Content.Server.Database; using Microsoft.EntityFrameworkCore; @@ -1786,4 +1786,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.cs b/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.cs index 64ef23529c..24cb0ca094 100644 --- a/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.cs +++ b/Content.Server.Database/Migrations/Sqlite/20240906145842_Sponsors.cs @@ -1,4 +1,4 @@ -//#if LPP_Sponsors +#if LPP_Sponsors using System; using Microsoft.EntityFrameworkCore.Migrations; @@ -43,4 +43,4 @@ protected override void Down(MigrationBuilder migrationBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.Designer.cs b/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.Designer.cs index a7bf5d1bd4..b2f3432f4b 100644 --- a/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.Designer.cs +++ b/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.Designer.cs @@ -1,5 +1,5 @@ -// -//#if LPP_Sponsors +// +#if LPP_Sponsors using System; using Content.Server.Database; using Microsoft.EntityFrameworkCore; @@ -1794,4 +1794,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.cs b/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.cs index 8471be90e0..e7ae83da88 100644 --- a/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.cs +++ b/Content.Server.Database/Migrations/Sqlite/20240906151148_Sponsors-allowjob.cs @@ -1,4 +1,4 @@ -//#if LPP_Sponsors +#if LPP_Sponsors using Microsoft.EntityFrameworkCore.Migrations; #nullable disable @@ -28,4 +28,4 @@ protected override void Down(MigrationBuilder migrationBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.Designer.cs b/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.Designer.cs index e33f40aed3..1e0052f689 100644 --- a/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.Designer.cs +++ b/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.Designer.cs @@ -1,5 +1,5 @@ -// -//#if LPP_Sponsors +// +#if LPP_Sponsors using System; using Content.Server.Database; using Microsoft.EntityFrameworkCore; @@ -1819,4 +1819,4 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.cs b/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.cs index 1dc2d71af0..8ff68e6370 100644 --- a/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.cs +++ b/Content.Server.Database/Migrations/Sqlite/20240906152019_Donate.cs @@ -1,4 +1,4 @@ -//#if LPP_Sponsors +#if LPP_Sponsors using Microsoft.EntityFrameworkCore.Migrations; #nullable disable @@ -46,4 +46,4 @@ protected override void Down(MigrationBuilder migrationBuilder) } } } -//#endif +#endif diff --git a/Content.Server.Database/Migrations/Sqlite/SqliteServerDbContextModelSnapshot.cs b/Content.Server.Database/Migrations/Sqlite/SqliteServerDbContextModelSnapshot.cs index d34d2c621b..4f118968a0 100644 --- a/Content.Server.Database/Migrations/Sqlite/SqliteServerDbContextModelSnapshot.cs +++ b/Content.Server.Database/Migrations/Sqlite/SqliteServerDbContextModelSnapshot.cs @@ -1,4 +1,4 @@ -// +// using System; using Content.Server.Database; using Microsoft.EntityFrameworkCore; @@ -532,7 +532,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("connection_log", (string)null); }); -//#if LPP_Sponsors +#if LPP_Sponsors modelBuilder.Entity("Content.Server.Database.Donate", b => { b.Property("Id") @@ -557,7 +557,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("donate", (string)null); }); -//#endif +#endif modelBuilder.Entity("Content.Server.Database.Job", b => { b.Property("Id") @@ -1175,7 +1175,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("server_unban", (string)null); }); -//#if LPP_Sponsors +#if LPP_Sponsors modelBuilder.Entity("Content.Server.Database.Sponsor", b => { b.Property("UserId") @@ -1221,7 +1221,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) b.ToTable("sponsors", (string)null); }); -//#endif +#endif modelBuilder.Entity("Content.Server.Database.Trait", b => { b.Property("Id")