mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Add name to subscription
This commit is contained in:
parent
31eac0a761
commit
b70eac484a
@ -18,6 +18,8 @@ class RefactorBillingScriptionsTable extends Migration
|
|||||||
Schema::table('subscriptions', function (Blueprint $table) {
|
Schema::table('subscriptions', function (Blueprint $table) {
|
||||||
$table->text('product_id')->change();
|
$table->text('product_id')->change();
|
||||||
$table->text('recurring_product_ids');
|
$table->text('recurring_product_ids');
|
||||||
|
$table->string('name');
|
||||||
|
$table->unique(['company_id', 'name']);
|
||||||
});
|
});
|
||||||
|
|
||||||
Schema::table('subscriptions', function (Blueprint $table) {
|
Schema::table('subscriptions', function (Blueprint $table) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user