diff --git a/app/Models/RecurringExpense.php b/app/Models/RecurringExpense.php index 8eb8b6c6f3..f7963edafd 100644 --- a/app/Models/RecurringExpense.php +++ b/app/Models/RecurringExpense.php @@ -49,6 +49,8 @@ class RecurringExpense extends EntityModel //'start_date', //'end_date', 'frequency_id', + 'custom_value1', + 'custom_value2', ]; /** diff --git a/database/migrations/2019_06_27_102649_add_custom_recurring_expense_fields.php b/database/migrations/2019_06_27_102649_add_custom_recurring_expense_fields.php new file mode 100644 index 0000000000..5950c26ec8 --- /dev/null +++ b/database/migrations/2019_06_27_102649_add_custom_recurring_expense_fields.php @@ -0,0 +1,31 @@ +text('custom_value1')->nullable(); + $table->text('custom_value2')->nullable(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + // + } +}