Skip to content

Commit

Permalink
Add IDs referencing shipments in shippingDB (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik authored Mar 21, 2024
1 parent b756a23 commit 4267efd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schemas/ispyb/updates/2024_03_20_Shipping_Dewar_externalIds.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_03_20_Shipping_Dewar_externalIds.sql', 'ONGOING');

ALTER TABLE Shipping
ADD COLUMN `externalShippingIdToSynchrotron` int(11) unsigned
COMMENT 'ID for shipping to synchrotron in external application';

ALTER TABLE Dewar
ADD COLUMN `externalShippingIdFromSynchrotron` int(11) unsigned
COMMENT 'ID for shipping from synchrotron in external application';

UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2024_03_20_Shipping_Dewar_externalIds.sql';

0 comments on commit 4267efd

Please sign in to comment.