This commit is contained in:
nurmuhammet committed 2024-01-28 21:22:45 +05:00
1 parent 1dc69a615d
commit 819c842ae0
8 files changed
+165 -20

No files matched your search

@@ -0,0 +1,28 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('card_orders', function (Blueprint $table) {
$table->boolean('paid')->default(false)->change();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('card_orders', function (Blueprint $table) {
$table->boolean('paid')->default(true)->change();
});
}
};