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