Path: blob/master/src/applications/harbormaster/storage/HarbormasterScratchTable.php
12256 views
<?php12/**3* This is just a test table that unit tests can use if they need to test4* generic database operations. It won't change and break tests and stuff, and5* mistakes in test construction or isolation won't impact the application in6* any way.7*/8final class HarbormasterScratchTable extends HarbormasterDAO {910protected $data;11protected $bigData;12protected $nonmutableData;1314protected function getConfiguration() {15return array(16self::CONFIG_COLUMN_SCHEMA => array(17'data' => 'text64',18'bigData' => 'text?',19'nonmutableData' => 'text64?',20),21self::CONFIG_KEY_SCHEMA => array(22'data' => array(23'columns' => array('data'),24),25),26self::CONFIG_NO_MUTATE => array(27'nonmutableData',28),29) + parent::getConfiguration();30}3132}333435