From 91cffdafd85c08e95d3d1640848fe1e4f63288c1 Mon Sep 17 00:00:00 2001 From: JohnBra <36050523+JohnBra@users.noreply.github.com> Date: Wed, 25 Mar 2026 16:36:27 +0100 Subject: [PATCH] fix: append semicolons to sql statements in migration view (#32814) --- .../components/interfaces/Database/Migrations/Migrations.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx b/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx index abfbd2ca145..d573f9a32ba 100644 --- a/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx +++ b/apps/studio/components/interfaces/Database/Migrations/Migrations.tsx @@ -210,7 +210,10 @@ const Migrations = () => { isReadOnly id={selectedMigration?.version ?? ''} language="pgsql" - defaultValue={selectedMigration?.statements?.join('\n')} + defaultValue={ + selectedMigration?.statements?.join(';\n') + + (selectedMigration?.statements?.length ? ';' : '') + } />