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();