From 24fe11211a5ee5ec5166514069444295df278c3e Mon Sep 17 00:00:00 2001 From: KarlLevik Date: Wed, 11 Dec 2024 12:31:42 +0000 Subject: [PATCH] Fix wrong scriptName in insert to SchemaStatus --- schemas/ispyb/updates/2024_09_04_ProcessedTomogram_comment.sql | 2 +- schemas/ispyb/updates/2024_09_17_SpaceGroup_trim.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/ispyb/updates/2024_09_04_ProcessedTomogram_comment.sql b/schemas/ispyb/updates/2024_09_04_ProcessedTomogram_comment.sql index 85a85103..da56faa4 100644 --- a/schemas/ispyb/updates/2024_09_04_ProcessedTomogram_comment.sql +++ b/schemas/ispyb/updates/2024_09_04_ProcessedTomogram_comment.sql @@ -1,4 +1,4 @@ -INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_09_04_ProcessedTomogram_comment', 'ONGOING'); +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_09_04_ProcessedTomogram_comment.sql', 'ONGOING'); ALTER TABLE ProcessedTomogram COMMENT = 'Indicates the sample''s location on a multi-sample pin, where 1 is closest to the pin base or a sample''s position in a cryo-EM cassette'; diff --git a/schemas/ispyb/updates/2024_09_17_SpaceGroup_trim.sql b/schemas/ispyb/updates/2024_09_17_SpaceGroup_trim.sql index accbe502..d8d7cb61 100644 --- a/schemas/ispyb/updates/2024_09_17_SpaceGroup_trim.sql +++ b/schemas/ispyb/updates/2024_09_17_SpaceGroup_trim.sql @@ -1,4 +1,4 @@ -INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_09_17_SpaceGroup_trim', 'ONGOING'); +INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_09_17_SpaceGroup_trim.sql', 'ONGOING'); UPDATE SpaceGroup SET spaceGroupShortName=trim(trailing '1' FROM spaceGroupShortName) WHERE spaceGroupId in (51,52,53,54,55,56,57,58,59,60,61,62,63,64,73,74,127,128,129,130,205,206,223,224,227,228,230);