diff options
author | M.Gergo | 2020-11-25 13:30:04 +0100 |
---|---|---|
committer | M.Gergo | 2020-11-25 13:30:04 +0100 |
commit | eba77eabc9b033ef3b904eec7737bc997db37596 (patch) | |
tree | 10039d42f28d7ed1fbeb4cd1b9cabf03c4631e58 /mayor-orig/mayor-portal | |
parent | 5d168373f8d3de040dd0f696f2f783958b1304de (diff) | |
download | mayor-rev4712.tar.gz mayor-rev4712.zip |
Rev: 4712rev4712
Diffstat (limited to 'mayor-orig/mayor-portal')
3 files changed, 14 insertions, 2 deletions
diff --git a/mayor-orig/mayor-portal/install/mayor-portal/mysql/mayor-portal.sql b/mayor-orig/mayor-portal/install/mayor-portal/mysql/mayor-portal.sql index 61655882..f53e34a7 100644 --- a/mayor-orig/mayor-portal/install/mayor-portal/mysql/mayor-portal.sql +++ b/mayor-orig/mayor-portal/install/mayor-portal/mysql/mayor-portal.sql @@ -41,7 +41,7 @@ CREATE TABLE `hirek` ( `lang` varchar(5) default 'hu_HU', `cim` text, `txt` text, - `owner` varchar(10) default NULL, + `owner` varchar(255) default NULL, `flag` tinyint(3) unsigned NOT NULL default '0', `cid` tinyint(3) unsigned NOT NULL default '0', `pic` varchar(20) default NULL, diff --git a/mayor-orig/mayor-portal/log/mayor-portal.rev b/mayor-orig/mayor-portal/log/mayor-portal.rev index de4ba040..acbf96c3 100644 --- a/mayor-orig/mayor-portal/log/mayor-portal.rev +++ b/mayor-orig/mayor-portal/log/mayor-portal.rev @@ -1 +1 @@ -4710 +4712 diff --git a/mayor-orig/mayor-portal/update/rev004710-1-mayor_portal.sql b/mayor-orig/mayor-portal/update/rev004710-1-mayor_portal.sql new file mode 100644 index 00000000..5ac98672 --- /dev/null +++ b/mayor-orig/mayor-portal/update/rev004710-1-mayor_portal.sql @@ -0,0 +1,12 @@ +DELIMITER $$ +DROP PROCEDURE IF EXISTS upgrade_database_4710 $$ + +CREATE PROCEDURE upgrade_database_4710() +BEGIN +SET NAMES utf8 COLLATE utf8_hungarian_ci; + +ALTER TABLE `hirek` MODIFY `owner` varchar(255) DEFAULT NULL; + +END $$ +DELIMITER ; +CALL upgrade_database_4710(); |