⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.82
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
psa-horde
/
kronolith
/
migration
/
View File Name :
19_kronolith_upgrade_addmysqlgeo.php
* @category Horde * @license http://www.horde.org/licenses/gpl GPL * @package Kronolith */ class KronolithUpgradeAddMysqlGeo extends Horde_Db_Migration_Base { protected $_allowed = array('MySQL', 'MySQLi', 'PDO_MySQL'); /** * Upgrade. */ public function up() { /* Only run this migration if we are using a Mysql adapter */ if (in_array($this->adapterName(), $this->_allowed)) { $t = $this->createTable('kronolith_events_mysqlgeo', array('autoincrementKey' => false)); $t->column('event_id', 'string', array('limit' => 32, 'null' => false)); $t->column('event_coordinates', 'point', array('null' => false)); $t->column('event_zoom', 'integer', array('default' => 0, 'null' => false)); $t->primaryKey(array('event_id')); $t->end(); } } /** * Downgrade */ public function down() { if (in_array($this->adapterName(), $this->_allowed)) { $this->dropTable('kronolith_events_mysqlgeo'); } } }