Skip to content

Commit

Permalink
update sql where language is null not empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
TortugaAttack committed Mar 17, 2017
1 parent 9d6a7e7 commit 099383f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CREATE TABLE IF NOT EXISTS Experiments (
-- Changes from GERBIL QA 0.1.0 to 0.2.0
-- (ALTER should be executed only once for updating old DBs
-- ALTER TABLE ExperimentTasks ADD COLUMN language varchar(3);
UPDATE ExperimentTasks SET language='en' WHERE language='';
UPDATE ExperimentTasks SET language='en' WHERE language IS NULL;
DROP INDEX IF EXISTS ExperimentTaskConfig;
CREATE INDEX ExperimentTaskConfig ON ExperimentTasks (matching,experimentType,annotatorName,datasetName,language);

Expand Down

0 comments on commit 099383f

Please sign in to comment.