6
0
Fork 0

delete migration

release
panliang 2022-05-20 09:10:44 +08:00
parent c2b0f883d5
commit fec7c689cf
2 changed files with 0 additions and 64 deletions

View File

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddBalanceToStoreLogs extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('store_stock_logs', function (Blueprint $table) {
$table->integer('balance')->default(0);
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('store_stock_logs', function (Blueprint $table) {
$table->dropColumn('balance');
});
}
}

View File

@ -1,32 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddInviterIdToOrderPackages extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::table('order_packages', function (Blueprint $table) {
$table->unsignedBigInteger('inviter_id')->nullable();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::table('order_packages', function (Blueprint $table) {
$table->dropColumn(['inviter_id']);
});
}
}