Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EZEE-2988: As an Editor, I want to schedule hiding of a content item #65

Merged
merged 3 commits into from
Mar 24, 2020

Conversation

adamwojs
Copy link
Member

@adamwojs adamwojs commented Mar 23, 2020

JIRA: https://jira.ez.no/browse/EZEE-2988

Description

Schema changes required for "schedule hiding" feature.

Upgrade existing databases (WIP)

MySQL

ALTER TABLE  `ezdatebasedpublisher_scheduled_version` 
CHANGE COLUMN `publication_date` `date` INT(11) NOT NULL ,
ADD COLUMN `action` VARCHAR(32) NOT NULL AFTER `url_root`;

PostgreSQL

ALTER TABLE ezdatebasedpublisher_scheduled_version RENAME COLUMN publication_date TO date;
ALTER TABLE ezdatebasedpublisher_scheduled_version ADD COLUMN action VARCHAR(32) NOT NULL;

@adamwojs adamwojs self-assigned this Mar 24, 2020
@lserwatka lserwatka merged commit d979ca1 into master Mar 24, 2020
@lserwatka lserwatka deleted the ezee_2988 branch March 24, 2020 23:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants