Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#525 : Update db scripts for 5.9.0 for databases other than postgres
- Loading branch information
Showing
4 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
dcm4chee-arc-entity/src/main/resources/sql/update-5.9-mysql.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
create table hl7psu_task (pk bigint not null auto_increment, aet varchar(255) not null, created_time datetime not null, device_name varchar(255) not null, scheduled_time datetime, study_iuid varchar(255), mpps_fk bigint, primary key (pk)); | ||
alter table hl7psu_task add constraint UK_p5fraoqdbaywmlyumaeo16t56 unique (study_iuid); | ||
create index UK_t0y05h07d9dagn9a4a9s4a5a4 on hl7psu_task (device_name); | ||
create index UK_t0y05h07d9dagn9a4a9s4a5a4 on hl7psu_task (device_name(64)); | ||
alter table hl7psu_task add constraint FK_pev4urgkk7id2h1ijhv8domjx foreign key (mpps_fk) references mpps (pk); | ||
create index FK_pev4urgkk7id2h1ijhv8domjx on hl7psu_task (mpps_fk); | ||
|
||
--doesn't work | ||
create sequence hl7psu_task_pk_seq; |