From e26c1a0aade8b4fc350868e28b8e733a9a42d31a Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sun, 7 Apr 2024 15:14:08 +0300 Subject: [PATCH] update --- web/app/Models/HostingSubscription.php | 1 + .../2024_04_02_183209_create_hosting_subscriptions_table.php | 3 +++ 2 files changed, 4 insertions(+) diff --git a/web/app/Models/HostingSubscription.php b/web/app/Models/HostingSubscription.php index 0dddae1..ba01838 100644 --- a/web/app/Models/HostingSubscription.php +++ b/web/app/Models/HostingSubscription.php @@ -11,6 +11,7 @@ class HostingSubscription extends Model protected $fillable = [ 'phyre_server_id', + 'external_id', 'domain', 'customer_id', 'hosting_plan_id', diff --git a/web/database/migrations/2024_04_02_183209_create_hosting_subscriptions_table.php b/web/database/migrations/2024_04_02_183209_create_hosting_subscriptions_table.php index 1a89d7f..5a597a5 100644 --- a/web/database/migrations/2024_04_02_183209_create_hosting_subscriptions_table.php +++ b/web/database/migrations/2024_04_02_183209_create_hosting_subscriptions_table.php @@ -14,6 +14,9 @@ return new class extends Migration Schema::create('hosting_subscriptions', function (Blueprint $table) { $table->id(); + $table->bigInteger('phyre_server_id')->nullable(); + $table->bigInteger('external_id')->nullable(); + $table->bigInteger('customer_id')->nullable(); $table->bigInteger('hosting_plan_id')->nullable();