6
0
Fork 0

order_pre

release
panliang 2022-05-10 12:55:03 +08:00
parent 3707ecab87
commit 611eb25ef8
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ class AddRoleToUserInfos extends Migration
{
Schema::table('user_infos', function (Blueprint $table) {
$table->decimal('profit', 12, 2)->default(0)->comment('累计收益');
$table->tinyInteger('is_company')->default(0)->comment('是否员工');
// $table->tinyInteger('is_company')->default(0)->comment('是否员工');
});
}
@ -27,7 +27,7 @@ class AddRoleToUserInfos extends Migration
public function down()
{
Schema::table('user_infos', function (Blueprint $table) {
$table->dropColumn(['role', 'role_name', 'profit', 'store_id']);
$table->dropColumn(['profit', 'is_company']);
});
}
}