← All changes
|
src/config/migrations/20200513133401_ResetIndexableHierarchyTable.php
+4
-0
19.0
→
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_table_name() ); |
| 25 | 27 | } |
| @@ -25,8 +27,10 @@ | ||
| 25 | 27 | } |
| 26 | 28 | |
| 27 | 29 | /** |
| 28 | 30 | * Migration down. |
| 31 | + * | |
| 32 | + * @return void | |
| 29 | 33 | */ |
| 30 | 34 | public function down() { |
| 31 | 35 | // Nothing to do. |
| 32 | 36 | } |