diff --git a/database/migrations/2023_02_02_000000_create_balances_table.php b/database/migrations/2023_02_02_000000_create_balances_table.php index 827ac6c..e7a6c62 100644 --- a/database/migrations/2023_02_02_000000_create_balances_table.php +++ b/database/migrations/2023_02_02_000000_create_balances_table.php @@ -23,6 +23,7 @@ public function up(): void $table->timestamp('paid_at')->nullable(); $table->unsignedBigInteger('user_id')->nullable()->index(); $table->foreign(['user_id'])->references(['id'])->on('users')->onUpdate('NO ACTION')->onDelete('NO ACTION'); + $table->timestamps(); }); }