Commit 95e8971f authored by Leo Gordon's avatar Leo Gordon
Browse files

allow the accumulated values to be longer than 255 characters

parent f9bb503d
-- allow the values to contain longer strings:
ALTER TABLE accu MODIFY COLUMN value TEXT;
......@@ -332,7 +332,7 @@ CREATE TABLE accu (
receiving_job_id INTEGER NOT NULL,
struct_name VARCHAR(255) NOT NULL,
key_signature VARCHAR(255) NOT NULL,
value VARCHAR(255)
value TEXT
);
CREATE INDEX ON accu (sending_job_id);
CREATE INDEX ON accu (receiving_job_id);
......
......@@ -327,7 +327,7 @@ CREATE TABLE accu (
receiving_job_id INTEGER NOT NULL,
struct_name VARCHAR(255) NOT NULL,
key_signature VARCHAR(255) NOT NULL,
value VARCHAR(255),
value TEXT,
KEY accu_sending_idx (sending_job_id),
KEY accu_receiving_idx (receiving_job_id)
......
......@@ -323,7 +323,7 @@ CREATE TABLE accu (
receiving_job_id INTEGER NOT NULL,
struct_name VARCHAR(255) NOT NULL,
key_signature VARCHAR(255) NOT NULL,
value VARCHAR(255)
value TEXT
);
CREATE INDEX accu_sending_idx ON accu (sending_job_id);
CREATE INDEX accu_receiving_idx ON accu (receiving_job_id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment