Skip to content

Commit

Permalink
Trim trailing 1 in SpaceGroup short names (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfrn authored Sep 17, 2024
1 parent d41bfca commit 1060c17
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions schemas/ispyb/updates/2024_09_17_SpaceGroup_trim.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_09_17_SpaceGroup_trim', '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);

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

0 comments on commit 1060c17

Please sign in to comment.