← All changes
|
src/config/migrations/20200420073606_AddColumnsToIndexables.php
+5
-1
18.1
→
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 | $tables = $this->get_tables(); |
| 25 | 27 | $blog_id = \get_current_blog_id(); |
| @@ -31,9 +33,9 @@ | ||
| 31 | 33 | [ |
| 32 | 34 | 'null' => false, |
| 33 | 35 | 'limit' => 20, |
| 34 | 36 | 'default' => $blog_id, |
| 35 | - ] | |
| 37 | + ], | |
| 36 | 38 | ); |
| 37 | 39 | } |
| 38 | 40 | |
| 39 | 41 | $attr_limit_32 = [ |
| @@ -53,8 +55,10 @@ | ||
| 53 | 55 | } |
| 54 | 56 | |
| 55 | 57 | /** |
| 56 | 58 | * Migration down. |
| 59 | + * | |
| 60 | + * @return void | |
| 57 | 61 | */ |
| 58 | 62 | public function down() { |
| 59 | 63 | $tables = $this->get_tables(); |
| 60 | 64 | foreach ( $tables as $table ) { |