mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 04:15:04 +03:00
fix: append semicolons to sql statements in migration view (#32814)
This commit is contained in:
1 parent
8ac8634d9b
commit
91cffdafd8
1 file changed
+4
-1
@@ -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 ? ';' : '')
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user