Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/DIRAC/TransformationSystem/DB/TransformationDB.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ CREATE TABLE Transformations(
TransformationID INTEGER NOT NULL AUTO_INCREMENT,
TransformationName VARCHAR(255) NOT NULL,
Description VARCHAR(255),
LongDescription BLOB,
LongDescription TEXT,
CreationDate DATETIME,
LastUpdate DATETIME,
AuthorDN VARCHAR(255) NOT NULL,
Expand All @@ -39,7 +39,7 @@ CREATE TABLE Transformations(
TransformationFamily varchar(64) default '0',
GroupSize FLOAT NOT NULL DEFAULT 1,
InheritedFrom INTEGER DEFAULT 0,
Body LONGBLOB,
Body LONGTEXT,
MaxNumberOfTasks INTEGER NOT NULL DEFAULT 0,
EventsPerTask INTEGER NOT NULL DEFAULT 0,
PRIMARY KEY(TransformationID),
Expand All @@ -63,7 +63,7 @@ DROP TABLE IF EXISTS AdditionalParameters;
CREATE TABLE AdditionalParameters(
TransformationID INTEGER NOT NULL,
ParameterName VARCHAR(32) NOT NULL,
ParameterValue LONGBLOB NOT NULL,
ParameterValue LONGTEXT NOT NULL,
ParameterType VARCHAR(32) DEFAULT 'StringType',
PRIMARY KEY(TransformationID, ParameterName),
FOREIGN KEY(TransformationID) REFERENCES Transformations(TransformationID)
Expand Down Expand Up @@ -151,7 +151,7 @@ DROP TABLE IF EXISTS TransformationMetaQueries;
CREATE TABLE TransformationMetaQueries(
TransformationID INTEGER NOT NULL,
MetaDataName VARCHAR(255) NOT NULL,
MetaDataValue BLOB NOT NULL,
MetaDataValue TEXT NOT NULL,
MetaDataType VARCHAR(8) NOT NULL,
QueryType ENUM('Input', 'Output') DEFAULT 'Input',
PRIMARY KEY(TransformationID, MetaDataName, QueryType),
Expand Down