order_pre
parent
3707ecab87
commit
611eb25ef8
|
|
@ -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']);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue