openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit d45f5e90de11e12e66eb1ed4ff9cd1e4625ba09e
parent 4f02f481724d0aeb53fea0b9ceebc4a061c63309
Author: Jan Dankert <devnull@localhost>
Date:   Thu,  6 Sep 2018 00:44:15 +0200

Fix: Da ist aus Versehen eine falsche ganzzahlige Konstante in den Spaltennamen gerutscht.

Diffstat:
modules/database-update/update/DBVersion000001.class.php | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/database-update/update/DBVersion000001.class.php b/modules/database-update/update/DBVersion000001.class.php @@ -220,7 +220,7 @@ class DBVersion000001 extends DbVersion $this->addColumn('templatemodel','templateid',OR_DB_COLUMN_TYPE_INT,0,null,$not_nullable); $this->addColumn('templatemodel','projectmodelid',OR_DB_COLUMN_TYPE_INT,0,null,$not_nullable); $this->addColumn('templatemodel','extension',OR_DB_COLUMN_TYPE_VARCHAR,10,null,$nullable); - $this->addColumn('templatemodel',OR_DB_COLUMN_TYPE_TEXT,OR_DB_COLUMN_TYPE_TEXT,null,null,$not_nullable); + $this->addColumn('templatemodel','text',OR_DB_COLUMN_TYPE_TEXT,null,null,$not_nullable); $this->addPrimaryKey('templatemodel','id'); $this->addConstraint('templatemodel','templateid','template','id'); $this->addConstraint('templatemodel','projectmodelid','projectmodel','id'); @@ -252,7 +252,7 @@ class DBVersion000001 extends DbVersion $this->addColumn('value','languageid',OR_DB_COLUMN_TYPE_INT,null,null,$not_nullable); $this->addColumn('value','elementid',OR_DB_COLUMN_TYPE_INT,0,null,$not_nullable); $this->addColumn('value','linkobjectid',OR_DB_COLUMN_TYPE_INT,null,null,$nullable); - $this->addColumn('value',OR_DB_COLUMN_TYPE_TEXT,OR_DB_COLUMN_TYPE_TEXT,null,null,$nullable); + $this->addColumn('value','text',OR_DB_COLUMN_TYPE_TEXT,null,null,$nullable); $this->addColumn('value','number',OR_DB_COLUMN_TYPE_INT,null,null,$nullable); $this->addColumn('value','date',OR_DB_COLUMN_TYPE_INT,null,null,$nullable); $this->addColumn('value','active',OR_DB_COLUMN_TYPE_INT,0,null,$not_nullable);