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.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Refactor commit_message column length to 50 characters
Andras Bacsai56a450a936c6
diff --git a/app/Models/ApplicationDeploymentQueue.php b/app/Models/ApplicationDeploymentQueue.phpindex a55d3a4a25..c55f89e214 100644--- a/app/Models/ApplicationDeploymentQueue.php+++ b/app/Models/ApplicationDeploymentQueue.php@@ -27,7 +27,7 @@ class ApplicationDeploymentQueue extends Modelif (empty($this->commit_message) || is_null($this->commit_message)) {return null;}- return str($this->commit_message)->trim()->limit(300)->value();+ return str($this->commit_message)->trim()->limit(50)->value();}public function addLogEntry(string $message, string $type = 'stdout', bool $hidden = false){diff --git a/database/migrations/2024_05_15_091757_add_commit_message_to_app_deployment_queue.php b/database/migrations/2024_05_15_091757_add_commit_message_to_app_deployment_queue.phpindex 0128e2be56..78608f5038 100644--- a/database/migrations/2024_05_15_091757_add_commit_message_to_app_deployment_queue.php+++ b/database/migrations/2024_05_15_091757_add_commit_message_to_app_deployment_queue.php@@ -12,7 +12,7 @@ return new class extends Migrationpublic function up(): void{Schema::table('application_deployment_queues', function (Blueprint $table) {- $table->string('commit_message', 300)->nullable();+ $table->string('commit_message', 50)->nullable();});}