This commit is contained in:
nurmuhammet committed 2023-11-28 12:40:49 +05:00
1 parent b45cec0200
commit dab7cc0069
16 files changed
+215 -58

No files matched your search

@@ -22,6 +22,8 @@ public function up(): void
$table->string('billing_username')->nullable();
$table->string('billing_password')->nullable();
$table->jsonb('phone_numbers')->nullable();
$table->boolean('active')->default(true);
$table->timestamps();
});
@@ -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::create('tests', function (Blueprint $table) {
$table->id();
$table->string('phone')->nullable();
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('test');
}
};