Skip to content

Commit ae171fa

Browse files
author
mcramer
committed
Updated: client additional template db column had varchar(255) which was too small in some cases
1 parent 52846bb commit ae171fa

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
-- increase column size
3+
ALTER TABLE `client` CHANGE `template_additional` `template_additional` TEXT NOT NULL DEFAULT '';
4+

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ CREATE TABLE `client` (
221221
`language` char(2) NOT NULL DEFAULT 'en',
222222
`usertheme` varchar(32) NOT NULL DEFAULT 'default',
223223
`template_master` int(11) unsigned NOT NULL DEFAULT '0',
224-
`template_additional` varchar(255) NOT NULL DEFAULT '',
224+
`template_additional` text NOT NULL DEFAULT '',
225225
`created_at` bigint(20) DEFAULT NULL,
226226
`id_rsa` varchar(2000) NOT NULL DEFAULT '',
227227
`ssh_rsa` varchar(600) NOT NULL DEFAULT '',

0 commit comments

Comments
 (0)