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();