openrat-cms

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

commit 78b97ed1839f5fc70d70475b90fbfe8edc7bc124
parent dca6e8bda74676dd447ce1b7cc1d3b8ba9cae98d
Author: Jan Dankert <devnull@localhost>
Date:   Thu,  6 Sep 2018 00:32:27 +0200

Alte Kommentare entfernt.

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

diff --git a/modules/database-update/update/DBVersion000001.class.php b/modules/database-update/update/DBVersion000001.class.php @@ -30,24 +30,7 @@ class DBVersion000001 extends DbVersion $this->addPrimaryKey('project','id'); $this->addIndex('project','name'); - /* - * - $this->addColumn('id',OR_DB_COLUMN_TYPE_INT,null,null,$not_nullable); - $this->addColumn('name',OR_DB_COLUMN_TYPE_VARCHAR,128,null,$not_nullable); - $this->addColumn('target_dir',OR_DB_COLUMN_TYPE_VARCHAR,255,null,$not_nullable); - $this->addColumn('ftp_url',OR_DB_COLUMN_TYPE_VARCHAR,255,null,$not_nullable); - $this->addColumn('ftp_passive',OR_DB_COLUMN_TYPE_INT,1,0,$not_nullable); - $this->addColumn('cmd_after_publish',OR_DB_COLUMN_TYPE_VARCHAR,255,null,$not_nullable); - $this->addColumn('content_negotiation',OR_DB_COLUMN_TYPE_INT,1,0,$not_nullable); - $this->addColumn('cut_$this->addIndex('',OR_DB_COLUMN_TYPE_INT);',1,0,$not_nullable); - $this->addPrimaryKey('','id'); - close_table - unique_$this->addIndex('','name'); - */ - - - - + $this->addTable('user'); $this->addColumn('user','name',OR_DB_COLUMN_TYPE_VARCHAR,128,null,$not_nullable); $this->addColumn('user','password',OR_DB_COLUMN_TYPE_VARCHAR,50,null,$not_nullable); @@ -330,7 +313,7 @@ class DBVersion000001 extends DbVersion /** * Initialisieren der frisch aktualisierten Datenbank. * - * @param DB $db + * @param Database $db */ private function afterUpdate( Database $db ) {