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.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 19.0 All 129 releases
← All changes | src/config/migrations/20200428194858_ExpandIndexableColumnLengths.php +9 -5 18.4 → 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->change_column( $this->get_table_name(), 'title', 'text', [ 'null' => true ] );
25 27 $this->change_column( $this->get_table_name(), 'open_graph_title', 'text', [ 'null' => true ] );
@@ -29,8 +31,10 @@
29 31 }
30 32
31 33 /**
32 34 * Migration down.
35 + *
36 + * @return void
33 37 */
34 38 public function down() {
35 39 $attr_limit_191 = [
36 40 'null' => true,
@@ -40,33 +44,33 @@
40 44 $this->change_column(
41 45 $this->get_table_name(),
42 46 'title',
43 47 'string',
44 - $attr_limit_191
48 + $attr_limit_191,
45 49 );
46 50 $this->change_column(
47 51 $this->get_table_name(),
48 52 'opengraph_title',
49 53 'string',
50 - $attr_limit_191
54 + $attr_limit_191,
51 55 );
52 56 $this->change_column(
53 57 $this->get_table_name(),
54 58 'twitter_title',
55 59 'string',
56 - $attr_limit_191
60 + $attr_limit_191,
57 61 );
58 62 $this->change_column(
59 63 $this->get_table_name(),
60 64 'open_graph_image_source',
61 65 'string',
62 - $attr_limit_191
66 + $attr_limit_191,
63 67 );
64 68 $this->change_column(
65 69 $this->get_table_name(),
66 70 'twitter_image_source',
67 71 'string',
68 - $attr_limit_191
72 + $attr_limit_191,
69 73 );
70 74 }
71 75
72 76 /**