@@ -9,7 +9,7 @@ class m160805_074317_add_cms_pages extends Migration
99{
1010 public function up ()
1111 {
12- $ this ->insert ('{{%Cms }} ' , [
12+ $ this ->insert ('{{%cms }} ' , [
1313 'url ' => 'about-us ' ,
1414 'title ' => 'About us ' ,
1515 'content ' => 'About us content ' ,
@@ -20,7 +20,7 @@ public function up()
2020 'updatedAt ' => time (),
2121 ]);
2222
23- $ this ->insert ('{{%Cms }} ' , [
23+ $ this ->insert ('{{%cms }} ' , [
2424 'url ' => 'terms-and-conditions ' ,
2525 'title ' => 'Terms & Conditions ' ,
2626 'content ' => 'Content ' ,
@@ -31,7 +31,7 @@ public function up()
3131 'updatedAt ' => time (),
3232 ]);
3333
34- $ this ->insert ('{{%Cms }} ' , [
34+ $ this ->insert ('{{%cms }} ' , [
3535 'url ' => 'privacy-policy ' ,
3636 'title ' => 'Privacy Policy ' ,
3737 'content ' => 'Content ' ,
@@ -45,8 +45,8 @@ public function up()
4545
4646 public function down ()
4747 {
48- $ this ->delete ('{{%Cms }} ' , ['url ' => 'about-us ' ]);
49- $ this ->delete ('{{%Cms }} ' , ['url ' => 'terms-and-conditions ' ]);
50- $ this ->delete ('{{%Cms }} ' , ['url ' => 'privacy-policy ' ]);
48+ $ this ->delete ('{{%cms }} ' , ['url ' => 'about-us ' ]);
49+ $ this ->delete ('{{%cms }} ' , ['url ' => 'terms-and-conditions ' ]);
50+ $ this ->delete ('{{%cms }} ' , ['url ' => 'privacy-policy ' ]);
5151 }
5252}
0 commit comments