diff --git a/schemas/ispyb/updates/2026_07_02_AutoProcProgram_jobUuid.sql b/schemas/ispyb/updates/2026_07_02_AutoProcProgram_jobUuid.sql new file mode 100644 index 0000000..0ebf736 --- /dev/null +++ b/schemas/ispyb/updates/2026_07_02_AutoProcProgram_jobUuid.sql @@ -0,0 +1,5 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2026_07_02_AutoProcProgram_jobUuid.sql', 'ONGOING'); + +ALTER TABLE AutoProcProgram ADD jobUuid binary(16) NULL COMMENT 'External UUID for the job as described by the Zocalo service'; + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2026_07_02_AutoProcProgram_jobUuid.sql'; diff --git a/schemas/ispyb/updates/2026_07_02_ExperimentType_lamellaTomography.sql b/schemas/ispyb/updates/2026_07_02_ExperimentType_lamellaTomography.sql new file mode 100644 index 0000000..1666ad1 --- /dev/null +++ b/schemas/ispyb/updates/2026_07_02_ExperimentType_lamellaTomography.sql @@ -0,0 +1,8 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2026_07_02_ExperimentType_lamellaTomography.sql', 'ONGOING'); + +INSERT INTO ExperimentType (experimentTypeId, name, proposalType, active) VALUES(49, 'Lamella Tomography', 'em', 1); +INSERT INTO ExperimentType (experimentTypeId, name,proposalType,active) VALUES (50, 'Characterisation','mx',1); + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2026_07_02_ExperimentType_lamellaTomography.sql'; + + diff --git a/schemas/ispyb/updates/2026_07_02_Tomogram_thickness.sql b/schemas/ispyb/updates/2026_07_02_Tomogram_thickness.sql new file mode 100644 index 0000000..f147d9b --- /dev/null +++ b/schemas/ispyb/updates/2026_07_02_Tomogram_thickness.sql @@ -0,0 +1,5 @@ +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2026_07_02_Tomogram_thickness.sql', 'ONGOING'); + +ALTER TABLE Tomogram ADD thickness float NULL COMMENT 'Unit: nm'; + +UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2026_07_02_Tomogram_thickness.sql';