Bläddra i källkod

添加登陆注册

chenxiqiang 6 år sedan
förälder
incheckning
a3df275868

manage-server/database/migrations/2018_08_20_014238_create_classifys_table.php → manage-server/database/migrations/2018_08_20_014238_create_classifies_table.php Visa fil

13
      */
13
      */
14
     public function up()
14
     public function up()
15
     {
15
     {
16
-        Schema::create('classifys', function (Blueprint $table) {
16
+        Schema::create('classifies', function (Blueprint $table) {
17
             $table->increments('id');
17
             $table->increments('id');
18
             $table->timestamps();
18
             $table->timestamps();
19
             $table->unsignedInteger('pid'); // 父id
19
             $table->unsignedInteger('pid'); // 父id
28
      */
28
      */
29
     public function down()
29
     public function down()
30
     {
30
     {
31
-        Schema::dropIfExists('classifys');
31
+        Schema::dropIfExists('classifies');
32
     }
32
     }
33
 }
33
 }

Loading…
Avbryt
Spara