Skip to content

Commit c87017c

Browse files
author
Marius Cramer
committed
Added sql incremental data from master
1 parent f4de70a commit c87017c

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ALTER TABLE `client`
2+
ADD `limit_database_quota` int(11) NOT NULL default '-1' AFTER `limit_database`;
3+
ALTER TABLE `client_template`
4+
ADD `limit_database_quota` int(11) NOT NULL default '-1' AFTER `limit_database`;
5+
ALTER TABLE `web_database`
6+
ADD `database_quota` int(11) unsigned DEFAULT NULL AFTER `database_name_prefix`,
7+
ADD `last_quota_notification` date NULL default NULL;

install/sql/ispconfig3.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ CREATE TABLE `client` (
214214
`default_dbserver` int(11) NOT NULL DEFAULT '1',
215215
`dns_servers` blob NOT NULL DEFAULT '',
216216
`limit_database` int(11) NOT NULL DEFAULT '-1',
217+
`limit_database_quota` int(11) NOT NULL default '-1',
217218
`limit_cron` int(11) NOT NULL DEFAULT '0',
218219
`limit_cron_type` enum('url','chrooted','full') NOT NULL DEFAULT 'url',
219220
`limit_cron_frequency` int(11) NOT NULL DEFAULT '5',
@@ -317,6 +318,7 @@ CREATE TABLE `client_template` (
317318
`limit_dns_slave_zone` int(11) NOT NULL default '-1',
318319
`limit_dns_record` int(11) NOT NULL default '-1',
319320
`limit_database` int(11) NOT NULL default '-1',
321+
`limit_database_quota` int(11) NOT NULL default '-1',
320322
`limit_cron` int(11) NOT NULL default '0',
321323
`limit_cron_type` enum('url','chrooted','full') NOT NULL default 'url',
322324
`limit_cron_frequency` int(11) NOT NULL default '5',
@@ -1758,6 +1760,7 @@ CREATE TABLE `web_database` (
17581760
`type` varchar(16) NOT NULL DEFAULT 'y',
17591761
`database_name` varchar(64) DEFAULT NULL,
17601762
`database_name_prefix` varchar(50) NOT NULL default '',
1763+
`database_quota` int(11) unsigned DEFAULT NULL,
17611764
`database_user_id` int(11) unsigned DEFAULT NULL,
17621765
`database_ro_user_id` int(11) unsigned DEFAULT NULL,
17631766
`database_charset` varchar(64) DEFAULT NULL,

0 commit comments

Comments
 (0)