From 10237a6715e1364b9511c8e9719fb8ad5aa2746b Mon Sep 17 00:00:00 2001 From: KarlLevik Date: Thu, 8 Aug 2024 15:50:06 +0100 Subject: [PATCH] Change data type for comments from text to varchar(255) --- schemas/ispyb/updates/2024_08_08_ProcessedTomogram.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/ispyb/updates/2024_08_08_ProcessedTomogram.sql b/schemas/ispyb/updates/2024_08_08_ProcessedTomogram.sql index 2bfabf7d..ed6f94e6 100644 --- a/schemas/ispyb/updates/2024_08_08_ProcessedTomogram.sql +++ b/schemas/ispyb/updates/2024_08_08_ProcessedTomogram.sql @@ -4,7 +4,7 @@ CREATE TABLE ProcessedTomogram ( processedTomogramId int(11) unsigned PRIMARY KEY AUTO_INCREMENT, tomogramId int(11) unsigned NOT NULL COMMENT 'references Tomogram table', filePath varchar(255) DEFAULT NULL COMMENT 'location on disk for the tomogram file', - comments TEXT DEFAULT NULL COMMENT 'comments on the nature of the processed tomogram', + comments varchar(255) DEFAULT NULL COMMENT 'comments on the nature of the processed tomogram', FOREIGN KEY (tomogramId) REFERENCES Tomogram(tomogramId) ON DELETE CASCADE