Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: remove nixpkgarchive

Andras Bacsai95764c2b7627
diff --git a/database/migrations/2023_08_22_071058_add_nixpkgsarchive_to_applications_remove.php b/database/migrations/2023_08_22_071058_add_nixpkgsarchive_to_applications_remove.php
new file mode 100644
index 0000000000..69845d4d02
--- /dev/null
+++ b/database/migrations/2023_08_22_071058_add_nixpkgsarchive_to_applications_remove.php
@@ -0,0 +1,22 @@
+<?php
+
+use Illuminate\Database\Migrations\Migration;
+use Illuminate\Database\Schema\Blueprint;
+use Illuminate\Support\Facades\Schema;
+
+return new class extends Migration
+{
+ public function up(): void
+ {
+ Schema::table('applications', function (Blueprint $table) {
+ $table->dropColumn('nixpkgsarchive');
+ });
+ }
+
+ public function down(): void
+ {
+ Schema::table('teams', function (Blueprint $table) {
+ $table->string('nixpkgsarchive')->nullable();
+ });
+ }
+};