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

Remove Contributor and Publisher from the data model #62

Merged
merged 2 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions pass-core-main/src/main/resources/db/changelog/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,12 @@ databaseChangeLog:
path: /db/changelog/schema/index-localkey.sql
splitStatements: true
stripComments: true
- changeSet:
id: 8
author: mark-patton
changes:
- sqlFile:
encoding: utf-8
path: /db/changelog/schema/remove-contrib-pub.sql
splitStatements: true
stripComments: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- Remove Contributor
DROP TABLE public.pass_contributor;

-- Remove Journal.publication
ALTER TABLE public.pass_journal DROP COLUMN publisher_id;

-- Remove Publisher
DROP TABLE public.pass_publisher;

This file was deleted.

This file was deleted.

Loading