From 611eb25ef83f8d43c4ba0e07a980a58a26352ebf Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Tue, 10 May 2022 12:55:03 +0800 Subject: [PATCH] order_pre --- .../migrations/2022_05_06_133819_add_role_to_user_infos.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/migrations/2022_05_06_133819_add_role_to_user_infos.php b/database/migrations/2022_05_06_133819_add_role_to_user_infos.php index 1b8fffd5..6b5cd190 100644 --- a/database/migrations/2022_05_06_133819_add_role_to_user_infos.php +++ b/database/migrations/2022_05_06_133819_add_role_to_user_infos.php @@ -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']); }); } }