Add migrations

This commit is contained in:
David Bomba 2024-09-17 10:06:11 +10:00
parent b1f1eb0ccd
commit 715a9f34a6

View File

@ -0,0 +1,25 @@
<?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('subscriptions', function (Blueprint $table) {
$table->integer('remaining_cycles')->nullable()->default(-1);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
}
};