This commit is contained in:
James Cole 2024-05-08 21:55:14 +02:00
parent d17da670ab
commit 8d614de67f
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80

View File

@ -284,7 +284,7 @@ class CreateMainTables extends Migration
$table->integer('budget_id', false, true);
$table->date('startdate');
$table->decimal('amount', 32, 12);
$table->string('repeat_freq', 30);
$table->string('repeat_freq', 30)->nullable();
$table->boolean('repeats')->default(0);
$table->foreign('budget_id')->references('id')->on('budgets')->onDelete('cascade');
}