File modules/cms/update/version/DBVersion000034.class.php
Last commit: Wed Apr 17 00:34:07 2024 +0200 Jan Dankert New: Inputfields for coordinates; coordinates are stored in the now 64bit-number-field of the value.
1 <?php 2 3 namespace cms\update\version; 4 5 use cms\base\Startup; 6 use database\DbVersion; 7 use database\Column; 8 use security\Password; 9 10 /** 11 * Bigger number values. 12 * 13 * @author dankert 14 * 15 */ 16 class DBVersion000034 extends DbVersion 17 { 18 /** 19 * Modify the number column for values for storing bigger integers. 20 */ 21 public function update() 22 { 23 foreach( [ 24 $this->table('value' )->column('number')->nullable(), 25 ] as $column ) { 26 $column->type( Column::TYPE_INT )->size( Column::SIZE_INT_BIG )->modify(); 27 } 28 } 29 } 30
Downloadmodules/cms/update/version/DBVersion000034.class.php
History Wed, 17 Apr 2024 00:34:07 +0200 Jan Dankert New: Inputfields for coordinates; coordinates are stored in the now 64bit-number-field of the value.