添加status列
This commit is contained in:
parent
9e178159f1
commit
ea0321ff37
@ -1,3 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
require_once realpath(dirname(__FILE__) . '/TestCase.php');
|
||||
|
||||
Schema::table('virtual_companies', function ($table) {
|
||||
$table->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:禁用');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user