Преглед на файлове

Increased the lengh of name_english in item db SQL (#6065)

* Increased the english name size to 100
Atemo преди 3 години
родител
ревизия
46d9d3f87b
променени са 5 файла, в които са добавени 12 реда и са изтрити 4 реда
  1. 1 1
      sql-files/item_db.sql
  2. 1 1
      sql-files/item_db2.sql
  3. 1 1
      sql-files/item_db2_re.sql
  4. 1 1
      sql-files/item_db_re.sql
  5. 8 0
      sql-files/upgrades/upgrade_20210629.sql

+ 1 - 1
sql-files/item_db.sql

@@ -6,7 +6,7 @@ DROP TABLE IF EXISTS `item_db`;
 CREATE TABLE `item_db` (
   `id` int(10) unsigned NOT NULL DEFAULT '0',
   `name_aegis` varchar(50) NOT NULL DEFAULT '',
-  `name_english` varchar(50) NOT NULL DEFAULT '',
+  `name_english` varchar(100) NOT NULL DEFAULT '',
   `type` varchar(20) DEFAULT NULL,
   `subtype` varchar(20) DEFAULT NULL,
   `price_buy` mediumint(8) unsigned DEFAULT NULL,

+ 1 - 1
sql-files/item_db2.sql

@@ -6,7 +6,7 @@ DROP TABLE IF EXISTS `item_db2`;
 CREATE TABLE `item_db2` (
   `id` int(10) unsigned NOT NULL DEFAULT '0',
   `name_aegis` varchar(50) NOT NULL DEFAULT '',
-  `name_english` varchar(50) NOT NULL DEFAULT '',
+  `name_english` varchar(100) NOT NULL DEFAULT '',
   `type` varchar(20) DEFAULT NULL,
   `subtype` varchar(20) DEFAULT NULL,
   `price_buy` mediumint(8) unsigned DEFAULT NULL,

+ 1 - 1
sql-files/item_db2_re.sql

@@ -6,7 +6,7 @@ DROP TABLE IF EXISTS `item_db2_re`;
 CREATE TABLE `item_db2_re` (
   `id` int(10) unsigned NOT NULL DEFAULT '0',
   `name_aegis` varchar(50) NOT NULL DEFAULT '',
-  `name_english` varchar(50) NOT NULL DEFAULT '',
+  `name_english` varchar(100) NOT NULL DEFAULT '',
   `type` varchar(20) DEFAULT NULL,
   `subtype` varchar(20) DEFAULT NULL,
   `price_buy` mediumint(8) unsigned DEFAULT NULL,

+ 1 - 1
sql-files/item_db_re.sql

@@ -6,7 +6,7 @@ DROP TABLE IF EXISTS `item_db_re`;
 CREATE TABLE `item_db_re` (
   `id` int(10) unsigned NOT NULL DEFAULT '0',
   `name_aegis` varchar(50) NOT NULL DEFAULT '',
-  `name_english` varchar(50) NOT NULL DEFAULT '',
+  `name_english` varchar(100) NOT NULL DEFAULT '',
   `type` varchar(20) DEFAULT NULL,
   `subtype` varchar(20) DEFAULT NULL,
   `price_buy` mediumint(8) unsigned DEFAULT NULL,

+ 8 - 0
sql-files/upgrades/upgrade_20210629.sql

@@ -0,0 +1,8 @@
+ALTER TABLE `item_db`
+	MODIFY `name_english` varchar(100);
+ALTER TABLE `item_db2`
+	MODIFY `name_english` varchar(100);
+ALTER TABLE `item_db_re`
+	MODIFY `name_english` varchar(100);
+ALTER TABLE `item_db2_re`
+	MODIFY `name_english` varchar(100);