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

ZFIN-9269 deduplicate pub_pages field in publication table #1290

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
7 changes: 7 additions & 0 deletions source/org/zfin/db/postGmakePostloaddb/1165/ZFIN-9269.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--liquibase formatted sql
--changeset cmpich:ZFIN-9269.sql

update publication set pub_pages = left(pub_pages,8)
where pub_jrnl_zdb_id = 'ZDB-JRNL-151216-1'
AND LENGTH(pub_pages) = 16
;
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
<include file="source/org/zfin/db/postGmakePostloaddb/1165/ZFIN-9444.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1165/ZFIN-9449.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1165/ZFIN-9442.sql" />
<include file="source/org/zfin/db/postGmakePostloaddb/1165/ZFIN-9269.sql" />

</databaseChangeLog>
Loading