Add name to subscription
This commit is contained in:
parent
31eac0a761
commit
b70eac484a
1 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,8 @@ class RefactorBillingScriptionsTable extends Migration
|
|||
Schema::table('subscriptions', function (Blueprint $table) {
|
||||
$table->text('product_id')->change();
|
||||
$table->text('recurring_product_ids');
|
||||
$table->string('name');
|
||||
$table->unique(['company_id', 'name']);
|
||||
});
|
||||
|
||||
Schema::table('subscriptions', function (Blueprint $table) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue