From 1672520a2945d82cde600f2ba1a6f443bcfbccb4 Mon Sep 17 00:00:00 2001
From: Michael Green <84688932+michael-j-green@users.noreply.github.com>
Date: Wed, 17 Jul 2024 23:13:06 +1000
Subject: [PATCH] Expand the platform table name field to accomodate larger
platform names (#397)
IGDB has recently added a new platform who's name exceeds 45 characters
(the maximum Name length in the Platform table). This change extends the
character length to 255 chars.
---
gaseous-server/Support/Database/MySQL/gaseous-1022.sql | 1 +
gaseous-server/gaseous-server.csproj | 2 ++
2 files changed, 3 insertions(+)
create mode 100644 gaseous-server/Support/Database/MySQL/gaseous-1022.sql
diff --git a/gaseous-server/Support/Database/MySQL/gaseous-1022.sql b/gaseous-server/Support/Database/MySQL/gaseous-1022.sql
new file mode 100644
index 0000000..c88f8ba
--- /dev/null
+++ b/gaseous-server/Support/Database/MySQL/gaseous-1022.sql
@@ -0,0 +1 @@
+ALTER TABLE `Platform` CHANGE `Name` `Name` varchar(255);
\ No newline at end of file
diff --git a/gaseous-server/gaseous-server.csproj b/gaseous-server/gaseous-server.csproj
index 79071b8..87dfe64 100644
--- a/gaseous-server/gaseous-server.csproj
+++ b/gaseous-server/gaseous-server.csproj
@@ -64,6 +64,7 @@
+
@@ -108,5 +109,6 @@
+
\ No newline at end of file