Add name to subscription

This commit is contained in:
David Bomba 2021-03-25 22:00:51 +11:00
parent 31eac0a761
commit b70eac484a

View File

@ -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) {