Minor fixes for recurring expenses - add field to activities table
This commit is contained in:
parent
8ee9261baa
commit
1466ecfcfe
2 changed files with 5 additions and 3 deletions
|
|
@ -25,8 +25,5 @@ class AddSubscriptionIdToActivitiesTable extends Migration
|
|||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::table('activities', function (Blueprint $table) {
|
||||
//
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -78,6 +78,11 @@ class RecurringExpensesSchema extends Migration
|
|||
|
||||
});
|
||||
|
||||
Schema::table('activities', function (Blueprint $table) {
|
||||
$table->unsignedInteger('recurring_expense_id')->nullable();
|
||||
$table->unsignedInteger('recurring_quote_id')->nullable();
|
||||
});
|
||||
|
||||
Schema::table('recurring_quotes', function ($table){
|
||||
$table->string('auto_bill')->default('off');
|
||||
$table->boolean('auto_bill_enabled')->default(0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue