PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.6 28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 All 130 releases
← All changes | src/config/migrations/20171228151841_WpYoastPrimaryTerm.php +7 -5 18.2 → trunk View file →
@@ -33,9 +33,9 @@
33 33 [
34 34 'unsigned' => true,
35 35 'null' => false,
36 36 'limit' => 11,
37 - ]
37 + ],
38 38 );
39 39 $indexable_table->column(
40 40 'term_id',
41 41 'integer',
@@ -42,9 +42,9 @@
42 42 [
43 43 'unsigned' => true,
44 44 'null' => false,
45 45 'limit' => 11,
46 - ]
46 + ],
47 47 );
48 48 $indexable_table->column(
49 49 'taxonomy',
50 50 'string',
@@ -50,9 +50,9 @@
50 50 'string',
51 51 [
52 52 'null' => false,
53 53 'limit' => 32,
54 - ]
54 + ],
55 55 );
56 56
57 57 // Executes the SQL to create the table.
58 58 $indexable_table->finish();
@@ -64,9 +64,9 @@
64 64 'taxonomy',
65 65 ],
66 66 [
67 67 'name' => 'post_taxonomy',
68 - ]
68 + ],
69 69 );
70 70
71 71 $this->add_index(
72 72 $table_name,
@@ -75,9 +75,9 @@
75 75 'term_id',
76 76 ],
77 77 [
78 78 'name' => 'post_term',
79 - ]
79 + ],
80 80 );
81 81
82 82 $this->add_timestamps( $table_name );
83 83 }
@@ -83,8 +83,10 @@
83 83 }
84 84
85 85 /**
86 86 * Migration down.
87 + *
88 + * @return void
87 89 */
88 90 public function down() {
89 91 $this->drop_table( $this->get_table_name() );
90 92 }