mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 04:03:26 +00:00
Small fixes and updates. [skip ci]
This commit is contained in:
@@ -22,6 +22,8 @@ class CreateLimitsTable extends Migration {
|
||||
$table->boolean('repeats');
|
||||
$table->enum('repeat_freq', ['daily', 'weekly','monthly','quarterly','half-year','yearly']);
|
||||
|
||||
$table->unique(['component_id','startdate','repeat_freq']);
|
||||
|
||||
// connect component
|
||||
$table->foreign('component_id')
|
||||
->references('id')->on('components')
|
||||
|
Reference in New Issue
Block a user