id(); $table->uuid('uuid')->unique(); $table->string('key')->unique(); // registry key, e.g. "ring" $table->boolean('installed')->default(false); $table->string('status')->default('disconnected'); // disconnected|connecting|connected|error $table->text('status_detail')->nullable(); // last error / info line // Encrypted at rest — holds the Ring refresh token and other secrets (never plaintext). $table->text('config')->nullable(); $table->timestamp('connected_at')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('addons'); } };