Skip to content

Commit 77bf50b

Browse files
committed
Undo columns in ParticleClassification, create them in Tomogram
1 parent 6d04e13 commit 77bf50b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2025_06_27_undo_ParticleClassification_set_Tomogram_pixelLocation.sql', 'ONGOING');
2+
3+
ALTER TABLE ParticleClassification DROP COLUMN IF EXISTS pixelLocationX;
4+
ALTER TABLE ParticleClassification DROP COLUMN IF EXISTS pixelLocationY;
5+
6+
ALTER TABLE Tomogram ADD pixelLocationX int COMMENT 'pixel location of tomogram centre on search map image (x)', ALGORITHM=INSTANT;
7+
ALTER TABLE Tomogram ADD pixelLocationY int COMMENT 'pixel location of tomogram centre on search map image (y)', ALGORITHM=INSTANT;
8+
9+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2025_06_27_undo_ParticleClassification_set_Tomogram_pixelLocation.sql';

0 commit comments

Comments
 (0)