Skip to content

Commit 7bce72d

Browse files
author
Till Brehm
committed
Fixed: Issue #3693 Choose better default customer numbers for clients of resellers.
1 parent 98f80be commit 7bce72d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

install/sql/incremental/upd_dev_collection.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,5 @@ ALTER TABLE `web_database` ADD COLUMN `quota_exceeded` enum('n','y') NOT NULL DE
225225

226226
ALTER TABLE `client` ADD COLUMN `limit_database_user` int(11) NOT NULL DEFAULT '-1' after limit_database;
227227
ALTER TABLE `client_template` ADD COLUMN `limit_database_user` int(11) NOT NULL DEFAULT '-1' after limit_database;
228+
ALTER TABLE `client` CHANGE `customer_no_template` `customer_no_template` VARCHAR(255) NULL DEFAULT 'R[CLIENTID]C[CUSTOMER_NO]';
228229

install/sql/ispconfig3.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ CREATE TABLE `client` (
255255
`tmp_data` mediumblob,
256256
`id_rsa` varchar(2000) NOT NULL DEFAULT '',
257257
`ssh_rsa` varchar(600) NOT NULL DEFAULT '',
258-
`customer_no_template` varchar(255) DEFAULT 'C[CUSTOMER_NO]',
258+
`customer_no_template` varchar(255) DEFAULT 'R[CLIENTID]C[CUSTOMER_NO]',
259259
`customer_no_start` int(11) NOT NULL DEFAULT '1',
260260
`customer_no_counter` int(11) NOT NULL DEFAULT '0',
261261
`added_date` date NOT NULL DEFAULT '0000-00-00',

0 commit comments

Comments
 (0)