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

Add IDs referencing shipments in shippingDB #228

Merged
merged 1 commit into from
Mar 21, 2024
Merged
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
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';
Loading