Skip to content

Commit ad4f17d

Browse files
committed
Add descriptive comments to table definition
1 parent fcfeb80 commit ad4f17d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
ALTER TABLE `sys_datalog` ADD `session_id` varchar(64) NOT NULL DEFAULT '' AFTER `error`;
2+
ALTER TABLE `sys_user` CHANGE `sys_userid` `sys_userid` INT(11) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'Created by userid';
3+
ALTER TABLE `sys_user` CHANGE `sys_groupid` `sys_groupid` INT(11) UNSIGNED NOT NULL DEFAULT '1' COMMENT 'Created by groupid';

install/sql/ispconfig3.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1785,8 +1785,8 @@ CREATE TABLE IF NOT EXISTS `sys_theme` (
17851785

17861786
CREATE TABLE `sys_user` (
17871787
`userid` int(11) unsigned NOT NULL auto_increment,
1788-
`sys_userid` int(11) unsigned NOT NULL default '1',
1789-
`sys_groupid` int(11) unsigned NOT NULL default '1',
1788+
`sys_userid` int(11) unsigned NOT NULL default '1' COMMENT 'Created by userid',
1789+
`sys_groupid` int(11) unsigned NOT NULL default '1' COMMENT 'Created by groupid',
17901790
`sys_perm_user` varchar(5) NOT NULL default 'riud',
17911791
`sys_perm_group` varchar(5) NOT NULL default 'riud',
17921792
`sys_perm_other` varchar(5) NOT NULL default '',

0 commit comments

Comments
 (0)