2019-05-27 16:00:22 +03:00
|
|
|
CREATE TABLE `users_saved_searches` (
|
|
|
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
|
|
|
`search_code` varchar(255) NOT NULL,
|
|
|
|
`filter` varchar(255) NULL,
|
|
|
|
`user_id` int(11) NOT NULL,
|
|
|
|
PRIMARY KEY (`id`)
|
2019-05-27 22:55:23 +03:00
|
|
|
);
|
|
|
|
|
|
|
|
ALTER TABLE `users_settings`
|
2019-06-03 03:09:51 +01:00
|
|
|
ADD COLUMN `ui_flags` int(11) NOT NULL DEFAULT 1 AFTER `forums_post_count`;
|
|
|
|
|
|
|
|
ALTER TABLE `users_settings`
|
|
|
|
ADD COLUMN `has_gotten_default_saved_searches` tinyint(1) NOT NULL DEFAULT 0 AFTER `ui_flags`;
|
|
|
|
|
|
|
|
ALTER TABLE `support_tickets`
|
|
|
|
ADD COLUMN `group_id` int(11) NOT NULL AFTER `category`,
|
|
|
|
ADD COLUMN `thread_id` int(11) NOT NULL AFTER `group_id`,
|
|
|
|
ADD COLUMN `comment_id` int(11) NOT NULL AFTER `thread_id`;
|