Skip to content

Commit 61bb3d7

Browse files
noel kneibneoclust
authored andcommitted
(sql) Fix Column size for logs.module in logs
Resized from VARCHAR(45) to VARCHAR(255);
1 parent df29bde commit 61bb3d7

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

services/contrib/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ nobase_dist_contrib_DATA = dyngroup/sql/clean-db.sql \
249249
xmppmaster/sql/schema-058.sql \
250250
xmppmaster/sql/schema-059.sql \
251251
xmppmaster/sql/schema-061.sql \
252+
xmppmaster/sql/schema-062.sql \
252253
kiosk/sql/schema-001.sql \
253254
kiosk/sql/schema-002.sql \
254255
kiosk/sql/schema-003.sql \
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
--
2+
-- (c) 2021 Siveo, http://www.siveo.net/
3+
--
4+
--
5+
-- This file is part of Pulse 2, http://www.siveo.net/
6+
--
7+
-- Pulse 2 is free software; you can redistribute it and/or modify
8+
-- it under the terms of the GNU General Public License as published by
9+
-- the Free Software Foundation; either version 2 of the License, or
10+
-- (at your option) any later version.
11+
--
12+
-- Pulse 2 is distributed in the hope that it will be useful,
13+
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
-- GNU General Public License for more details.
16+
--
17+
-- You should have received a copy of the GNU General Public License
18+
-- along with Pulse 2; if not, write to the Free Software
19+
-- Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20+
-- MA 02110-1301, USA.
21+
22+
START TRANSACTION;
23+
24+
USE `xmppmaster`;
25+
ALTER TABLE `xmppmaster`.`cluster_resources`
26+
CHANGE COLUMN `hostname` `hostname` VARCHAR(255) NULL DEFAULT NULL ;
27+
28+
ALTER TABLE `xmppmaster`.`logs`
29+
CHANGE COLUMN `module` `module` VARCHAR(255) NULL DEFAULT "";
30+
31+
UPDATE version SET Number = 62;
32+
33+
COMMIT;

0 commit comments

Comments
 (0)