|
|
|
@@ -0,0 +1,38 @@ |
|
|
|
<?php |
|
|
|
|
|
|
|
use Illuminate\Database\Migrations\Migration; |
|
|
|
use Illuminate\Database\Schema\Blueprint; |
|
|
|
use Illuminate\Support\Facades\Schema; |
|
|
|
|
|
|
|
return new class extends Migration |
|
|
|
{ |
|
|
|
/** |
|
|
|
* Run the migrations. |
|
|
|
* |
|
|
|
* @return void |
|
|
|
*/ |
|
|
|
public function up() |
|
|
|
{ |
|
|
|
Schema::table('receipt_issuing_orders', function (Blueprint $table) { |
|
|
|
$table->bigInteger("seq_number", false, true)->nullable()->comment("通番"); |
|
|
|
}); |
|
|
|
Schema::table('receipt_issuing_order_histories', function (Blueprint $table) { |
|
|
|
$table->bigInteger("seq_number", false, true)->nullable()->comment("通番"); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* Reverse the migrations. |
|
|
|
* |
|
|
|
* @return void |
|
|
|
*/ |
|
|
|
public function down() |
|
|
|
{ |
|
|
|
Schema::table('receipt_issuing_orders', function (Blueprint $table) { |
|
|
|
$table->dropColumn("seq_number"); |
|
|
|
}); |
|
|
|
Schema::table('receipt_issuing_order_histories', function (Blueprint $table) { |
|
|
|
$table->dropColumn("seq_number"); |
|
|
|
}); |
|
|
|
} |
|
|
|
}; |