diff --git a/schemas/ispyb/updates/2023_08_15_Laboratory_EORINumber.sql b/schemas/ispyb/updates/2023_08_15_Laboratory_EORINumber.sql new file mode 100644 index 00000000..e6faa73c --- /dev/null +++ b/schemas/ispyb/updates/2023_08_15_Laboratory_EORINumber.sql @@ -0,0 +1,7 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2023_08_15_Laboratory_EORINumber.sql', 'ONGOING'); + +ALTER TABLE Laboratory + ADD EORINumber varchar(17) + COMMENT 'An EORI number consists of an ISO Country code from an EU Member State (2 characters) + a maximum of 15 characters'; + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2023_08_15_Laboratory_EORINumber.sql';