← All changes
|
src/config/migrations/20200430150130_ClearIndexableTables.php
+4
-0
18.5
→
trunk
View file →
| @@ -18,8 +18,10 @@ | ||
| 18 | 18 | public static $plugin = 'free'; |
| 19 | 19 | |
| 20 | 20 | /** |
| 21 | 21 | * Migration up. |
| 22 | + * | |
| 23 | + * @return void | |
| 22 | 24 | */ |
| 23 | 25 | public function up() { |
| 24 | 26 | $this->query( 'TRUNCATE TABLE ' . $this->get_indexable_table_name() ); |
| 25 | 27 | $this->query( 'TRUNCATE TABLE ' . $this->get_indexable_hierarchy_table_name() ); |
| @@ -26,8 +28,10 @@ | ||
| 26 | 28 | } |
| 27 | 29 | |
| 28 | 30 | /** |
| 29 | 31 | * Migration down. |
| 32 | + * | |
| 33 | + * @return void | |
| 30 | 34 | */ |
| 31 | 35 | public function down() { |
| 32 | 36 | // Nothing to do. |
| 33 | 37 | } |