Bozhidar Slaveykov 1 jaar geleden
bovenliggende
commit
e26c1a0aad

+ 1 - 0
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',

+ 3 - 0
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();