Skip to content

Commit

Permalink
Add a source column to Shipping, Dewar, Container, BLSample (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik authored Mar 12, 2024
1 parent f115b79 commit 707ec92
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions schemas/ispyb/updates/2024_03_12_source_column.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_03_12_source_column.sql', 'ONGOING');

ALTER TABLE Shipping
ADD source varchar(50) DEFAULT current_user();

ALTER TABLE Dewar
ADD source varchar(50) DEFAULT current_user();

ALTER TABLE Container
ADD source varchar(50) DEFAULT current_user();

ALTER TABLE BLSample
ADD source varchar(50) DEFAULT current_user();

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

0 comments on commit 707ec92

Please sign in to comment.