| 1 | <?php |
||
| 8 | class ObjectTable extends Migration |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var array |
||
| 12 | */ |
||
| 13 | public $tableAlias; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | private function getTableName(): string |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @inheritdoc |
||
| 25 | */ |
||
| 26 | public function safeUp() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Creates the tables. |
||
| 36 | * |
||
| 37 | * @return void |
||
| 38 | */ |
||
| 39 | protected function createTables() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Creates the indexes. |
||
| 57 | * |
||
| 58 | * @return void |
||
| 59 | */ |
||
| 60 | protected function createIndexes() |
||
| 95 | |||
| 96 | /** |
||
| 97 | * Adds the foreign keys. |
||
| 98 | * |
||
| 99 | * @return void |
||
| 100 | */ |
||
| 101 | protected function addForeignKeys() |
||
| 116 | |||
| 117 | /** |
||
| 118 | * @inheritdoc |
||
| 119 | */ |
||
| 120 | public function safeDown() |
||
| 125 | } |
||
| 126 |