openrat-cms

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

DBVersion000013.class.php (414B)


      1 <?php
      2 
      3 namespace cms\update\version;
      4 
      5 use database\DbVersion;
      6 use database\Column;
      7 use security\Password;
      8 
      9 /**
     10  * Textfiles should able to be filtered.
     11  *
     12  * @author dankert
     13  *
     14  */
     15 class DBVersion000013 extends DbVersion
     16 {
     17     /**
     18      *
     19      */
     20     public function update()
     21     {
     22     	$table = $this->table('file');
     23         $table->column('filterid'  )->type(Column::TYPE_INT)->size(0)->nullable()->add();
     24     }
     25 }