From ea0321ff3783dbff19820d1f9d0d824c89ae42d3 Mon Sep 17 00:00:00 2001 From: denghy Date: Thu, 14 Feb 2019 14:16:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0status=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/ExampleTest.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php index af1222e2..a6224a4f 100644 --- a/tests/ExampleTest.php +++ b/tests/ExampleTest.php @@ -1,3 +1,17 @@ tinyInteger('status')->unsigned()->default(0)->comment('状态 0:正常 1:禁用'); +}); + +Schema::table('virtual_packages', function ($table) { + $table->tinyInteger('status')->unsigned()->default(0)->comment('状态 0:正常 1:禁用'); +}); + +Schema::table('virtual_products', function ($table) { + $table->tinyInteger('status')->unsigned()->default(0)->comment('状态 0:正常 1:禁用'); +});