mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-04 06:44:37 -04:00
Minor fixes for recurring expenses - add field to activities table
This commit is contained in:
parent
8ee9261baa
commit
1466ecfcfe
@ -25,8 +25,5 @@ class AddSubscriptionIdToActivitiesTable extends Migration
|
|||||||
*/
|
*/
|
||||||
public function down()
|
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){
|
Schema::table('recurring_quotes', function ($table){
|
||||||
$table->string('auto_bill')->default('off');
|
$table->string('auto_bill')->default('off');
|
||||||
$table->boolean('auto_bill_enabled')->default(0);
|
$table->boolean('auto_bill_enabled')->default(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user