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.

refactor: change email column types in instance_settings migration from string to text

Andras Bacsaifba7f6f585a3
diff --git a/database/migrations/2024_12_10_122142_encrypt_instance_settings_email_columns.php b/database/migrations/2024_12_10_122142_encrypt_instance_settings_email_columns.php
index 44e0f2f475..5602e0ae94 100644
--- a/database/migrations/2024_12_10_122142_encrypt_instance_settings_email_columns.php
+++ b/database/migrations/2024_12_10_122142_encrypt_instance_settings_email_columns.php
@@ -45,11 +45,11 @@ return new class extends Migration
public function down(): void
{
Schema::table('instance_settings', function (Blueprint $table) {
- $table->string('smtp_from_address')->nullable()->change();
- $table->string('smtp_from_name')->nullable()->change();
- $table->string('smtp_recipients')->nullable()->change();
- $table->string('smtp_host')->nullable()->change();
- $table->string('smtp_username')->nullable()->change();
+ $table->text('smtp_from_address')->nullable()->change();
+ $table->text('smtp_from_name')->nullable()->change();
+ $table->text('smtp_recipients')->nullable()->change();
+ $table->text('smtp_host')->nullable()->change();
+ $table->text('smtp_username')->nullable()->change();
});
if (DB::table('instance_settings')->exists()) {