Skip to content

Commit ea82a03

Browse files
committed
changed default values
1 parent 42be38f commit ea82a03

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ALTER TABLE `client_template` ADD `limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `limit_webdav_user`;
2-
ALTER TABLE `client` ADD `limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `limit_webdav_user`;
1+
ALTER TABLE `client_template` ADD `limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'y' AFTER `limit_webdav_user`;
2+
ALTER TABLE `client` ADD `limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'y' AFTER `limit_webdav_user`;

install/sql/ispconfig3.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ CREATE TABLE `client` (
204204
`limit_shell_user` int(11) NOT NULL DEFAULT '0',
205205
`ssh_chroot` varchar(255) NOT NULL DEFAULT 'no,jailkit,ssh-chroot',
206206
`limit_webdav_user` int(11) NOT NULL DEFAULT '0',
207-
`limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n',
207+
`limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'y',
208208
`limit_aps` int(11) NOT NULL DEFAULT '-1',
209209
`default_dnsserver` int(11) unsigned NOT NULL DEFAULT '1',
210210
`db_servers` blob NOT NULL,
@@ -314,7 +314,7 @@ CREATE TABLE `client_template` (
314314
`limit_shell_user` int(11) NOT NULL default '0',
315315
`ssh_chroot` varchar(255) NOT NULL DEFAULT 'no',
316316
`limit_webdav_user` int(11) NOT NULL default '0',
317-
`limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n',
317+
`limit_backup` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'y',
318318
`limit_aps` int(11) NOT NULL DEFAULT '-1',
319319
`limit_dns_zone` int(11) NOT NULL default '-1',
320320
`limit_dns_slave_zone` int(11) NOT NULL default '-1',

0 commit comments

Comments
 (0)