| 123456789101112131415161718192021222324252627282930313233 |
- <?php
- use App\RejectedBill;
- use Illuminate\Database\Migrations\Migration;
- use Illuminate\Database\Schema\Blueprint;
- use Illuminate\Support\Facades\Schema;
- class ChangeOrderIssue extends Migration
- {
- /**
- * Run the migrations.
- *
- * @return void
- */
- public function up()
- {
- Schema::table('order_issues',function (Blueprint $table) {
- $table->string('logistic_number_return')->nullable()->index()->after('order_id');
- });
- }
- /**
- * Reverse the migrations.
- *
- * @return void
- */
- public function down()
- {
- Schema::table('order_issues',function (Blueprint $table) {
- $table->dropColumn('logistic_number_return');
- });
- }
- }
|