File modules/cms/update/version/DBVersion000015.class.php
Last commit: Thu Nov 19 22:53:46 2020 +0100 Jan Dankert Fix: Text columns need not have a size argument.
1 <?php 2 3 namespace cms\update\version; 4 5 use database\DbVersion; 6 use database\Column; 7 use security\Password; 8 9 /** 10 * Local settings for every object. 11 * 12 * @author dankert 13 * 14 */ 15 class DBVersion000015 extends DbVersion 16 { 17 /** 18 * 19 */ 20 public function update() 21 { 22 $this->table('object')->column('settings')->type(Column::TYPE_TEXT)->add(); 23 } 24 }
Downloadmodules/cms/update/version/DBVersion000015.class.php
History Thu, 19 Nov 2020 22:53:46 +0100 Jan Dankert Fix: Text columns need not have a size argument. Fri, 25 Sep 2020 01:00:58 +0200 Jan Dankert Refactoring: More OO in the database updater :) Sun, 23 Feb 2020 00:30:10 +0100 Jan Dankert Refactoring: Namespacing for module 'database-update', now called 'cms\update'.