From 86453c8fedf483ace18e05f6d234b3d13d80f796 Mon Sep 17 00:00:00 2001 From: Sascha Wolke Date: Wed, 7 Oct 2015 15:39:03 +0200 Subject: [PATCH] Increase experiment name length in result db. --- .../peelframework/core/results/model/Experiment.scala | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/peel-core/src/main/scala/org/peelframework/core/results/model/Experiment.scala b/peel-core/src/main/scala/org/peelframework/core/results/model/Experiment.scala index 32e2d4b9..b1daa8fc 100644 --- a/peel-core/src/main/scala/org/peelframework/core/results/model/Experiment.scala +++ b/peel-core/src/main/scala/org/peelframework/core/results/model/Experiment.scala @@ -53,10 +53,10 @@ object Experiment extends PersistedAPI[Experiment] { override def createTable()(implicit conn: Connection): Unit = if (!tableExists) { SQL( s""" CREATE TABLE experiment ( - id INTEGER NOT NULL, - name VARCHAR(63) NOT NULL, - suite VARCHAR(63) NOT NULL, - system VARCHAR(63) NOT NULL, + id INTEGER NOT NULL, + name VARCHAR(127) NOT NULL, + suite VARCHAR(63) NOT NULL, + system VARCHAR(63) NOT NULL, PRIMARY KEY (id), FOREIGN KEY (system) REFERENCES system(id) ON DELETE RESTRICT )""").execute() @@ -116,4 +116,4 @@ object Experiment extends PersistedAPI[Experiment] { 'suite -> x.suite.name, 'system -> x.system.name ) -} \ No newline at end of file +}