Skip to content

Commit

Permalink
Add new section column to icingaweb_user_preference table
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Fuhr committed Nov 12, 2014
1 parent 2e24c53 commit 7b2318e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etc/schema/mysql.schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ CREATE TABLE `icingaweb_user`(

CREATE TABLE `icingaweb_user_preference`(
`username` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`section` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`name` varchar(64) COLLATE utf8_unicode_ci NOT NULL,
`value` varchar(255) NOT NULL,
`ctime` timestamp NULL DEFAULT NULL,
`mtime` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`username`,`name`)
PRIMARY KEY (`username`,`section`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

0 comments on commit 7b2318e

Please sign in to comment.