| 1 | <?php |
||
| 13 | class m3_template_locations_schema extends \phpbb\db\migration\migration |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | public function effectively_installed() |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritDoc} |
||
| 25 | */ |
||
| 26 | static public function depends_on() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Add the ad_locations table schema to the database: |
||
| 33 | * ad_locations: |
||
| 34 | * ad_id |
||
| 35 | * location_id |
||
| 36 | * |
||
| 37 | * @return array Array of table schema |
||
| 38 | * @access public |
||
| 39 | */ |
||
| 40 | public function update_schema() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Drop the ad_locations table schema from the database |
||
| 57 | * |
||
| 58 | * @return array Array of table schema |
||
| 59 | * @access public |
||
| 60 | */ |
||
| 61 | public function revert_schema() |
||
| 69 | } |
||
| 70 |