Skip to content

Commit

Permalink
(sql) Fix Column size for logs.module in logs
Browse files Browse the repository at this point in the history
Resized from VARCHAR(45) to VARCHAR(255);
  • Loading branch information
botheis authored and neoclust committed Jun 8, 2021
1 parent df29bde commit 61bb3d7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions services/contrib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ nobase_dist_contrib_DATA = dyngroup/sql/clean-db.sql \
xmppmaster/sql/schema-058.sql \
xmppmaster/sql/schema-059.sql \
xmppmaster/sql/schema-061.sql \
xmppmaster/sql/schema-062.sql \
kiosk/sql/schema-001.sql \
kiosk/sql/schema-002.sql \
kiosk/sql/schema-003.sql \
Expand Down
33 changes: 33 additions & 0 deletions services/contrib/xmppmaster/sql/schema-062.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
--
-- (c) 2021 Siveo, http://www.siveo.net/
--
--
-- This file is part of Pulse 2, http://www.siveo.net/
--
-- Pulse 2 is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License, or
-- (at your option) any later version.
--
-- Pulse 2 is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Pulse 2; if not, write to the Free Software
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
-- MA 02110-1301, USA.

START TRANSACTION;

USE `xmppmaster`;
ALTER TABLE `xmppmaster`.`cluster_resources`
CHANGE COLUMN `hostname` `hostname` VARCHAR(255) NULL DEFAULT NULL ;

ALTER TABLE `xmppmaster`.`logs`
CHANGE COLUMN `module` `module` VARCHAR(255) NULL DEFAULT "";

UPDATE version SET Number = 62;

COMMIT;

0 comments on commit 61bb3d7

Please sign in to comment.