From 4d447eda50025e09d7e91a0ba04c107aaf61ed6f Mon Sep 17 00:00:00 2001 From: shreddedbacon Date: Mon, 11 Nov 2024 13:11:27 +1100 Subject: [PATCH] chore: update deploy base/head ref length --- .../database/migrations/20241231000100_mysql8_compatibility.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/api/database/migrations/20241231000100_mysql8_compatibility.js b/services/api/database/migrations/20241231000100_mysql8_compatibility.js index 1c054cf778..ddf028ac5c 100644 --- a/services/api/database/migrations/20241231000100_mysql8_compatibility.js +++ b/services/api/database/migrations/20241231000100_mysql8_compatibility.js @@ -12,6 +12,8 @@ exports.up = async function(knex) { }) .alterTable('environment', function (table) { table.timestamp('deleted').notNullable().alter(); + table.string('deploy_base_ref', 250).alter(); + table.string('deploy_head_ref', 250).alter(); }) .alterTable('environment_fact', function (table) { table.specificType('description', 'text').alter();