add user password reset, add series image switch, add image licences, redesign exclude filters
This commit is contained in:
@@ -178,7 +178,11 @@ CREATE TABLE `calcms_event_history` (
|
||||
`series_id` int(10) unsigned DEFAULT NULL,
|
||||
`deleted` tinyint(1) unsigned DEFAULT '0',
|
||||
`project_id` int(10) unsigned NOT NULL,
|
||||
`draft` tinyint(3) unsigned NOT NULL DEFAULT '0',
|
||||
`recurrence_count` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`draft` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`series_image` VARCHAR(200) DEFAULT NULL,
|
||||
`image_label` VARCHAR(200) DEFAULT NULL,
|
||||
`series_image_label` VARCHAR(200) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `end` (`end`),
|
||||
KEY `start` (`start`),
|
||||
@@ -264,6 +268,9 @@ CREATE TABLE `calcms_events` (
|
||||
`archive_url` varchar(300) DEFAULT NULL,
|
||||
`recurrence_count` int(10) unsigned NOT NULL DEFAULT '0',
|
||||
`draft` tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
`series_image` VARCHAR(200) DEFAULT NULL,
|
||||
`image_label` VARCHAR(200) DEFAULT NULL,
|
||||
`series_image_label` VARCHAR(200) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `end` (`end`),
|
||||
KEY `start` (`start`),
|
||||
@@ -315,6 +322,8 @@ CREATE TABLE `calcms_images` (
|
||||
`modified_by` varchar(64) DEFAULT NULL,
|
||||
`modified_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
`project_id` int(10) unsigned NOT NULL,
|
||||
`public` tinyint(1) unsigned NULL DEFAULT '0',
|
||||
`licence` varchar(300) NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `created_at` (`created_at`),
|
||||
KEY `filename` (`filename`),
|
||||
@@ -395,7 +404,7 @@ CREATE TABLE `calcms_playout` (
|
||||
`rms_image` varchar(300) DEFAULT NULL,
|
||||
`replay_gain` float DEFAULT NULL,
|
||||
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`modified_at` datetime NOT NULL,
|
||||
`modified_at` datetime DEFAULT CURRENT_TIMESTAMP,
|
||||
PRIMARY KEY (`project_id`,`studio_id`,`start`),
|
||||
KEY `project_id` (`project_id`),
|
||||
KEY `studio_id` (`studio_id`),
|
||||
|
||||
@@ -94,4 +94,23 @@ ALTER TABLE `calcms_events`
|
||||
|
||||
ALTER TABLE `calcms_users`
|
||||
CHANGE COLUMN email email varchar(300) NOT NULL;
|
||||
|
||||
ALTER TABLE `calcms_events` ADD COLUMN `series_image` VARCHAR(200) DEFAULT NULL AFTER `draft`;
|
||||
|
||||
ALTER TABLE `calcms_events` ADD COLUMN `image_label` VARCHAR(200) DEFAULT NULL AFTER `series_image`,
|
||||
ADD COLUMN `series_image_label` VARCHAR(200) DEFAULT NULL AFTER `image_label`;
|
||||
|
||||
ALTER TABLE `calcms_playout`
|
||||
CHANGE COLUMN `modified_at` `modified_at` datetime DEFAULT CURRENT_TIMESTAMP;
|
||||
|
||||
ALTER TABLE `calcms_images`
|
||||
ADD COLUMN public tinyint(1) unsigned NULL DEFAULT '0',
|
||||
ADD COLUMN licence varchar(300) NULL AFTER project_id;
|
||||
|
||||
ALTER TABLE `calcms_event_history`
|
||||
CHANGE COLUMN draft draft tinyint(1) unsigned NOT NULL DEFAULT '0',
|
||||
ADD COLUMN series_image_label varchar(200) NULL,
|
||||
ADD COLUMN series_image varchar(200) NULL AFTER draft,
|
||||
ADD COLUMN recurrence_count int(10) unsigned NOT NULL DEFAULT '0' AFTER project_id,
|
||||
ADD COLUMN image_label varchar(200) NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user