fix(postgres): strip length from fixed-size types and fix SQL library UX issues

* fix(postgre): Fix the data type syntax when creating tables in PostgreSQL

* fix(ui): Save the state when closing the SQL library through the close button
This commit is contained in:
ptma authored and GitHub committed 2026-06-20 22:10:26 +08:00
1 parent 9d329920b9
commit 5bc168f20c
4 files changed
+58 -2

No files matched your search

+1 -1
View File
@@ -1485,7 +1485,7 @@ onUnmounted(() => {
<div v-if="showSqlLibraryPanel" :class="isClassicLayout ? 'h-full shrink-0 relative z-30 isolate bg-background' : 'h-full shrink-0 relative z-30 isolate rounded-md border border-border/80 bg-background'" :style="{ width: sqlLibraryWidth + 'px' }">
<div class="panel-resize-handle panel-resize-handle--left" @mousedown="startSqlLibraryResize" />
<div class="h-full min-h-0 overflow-hidden">
<SqlLibraryPanel @close="showSqlLibraryPanel = false" />
<SqlLibraryPanel @close="toggleSqlLibrary" />
</div>
</div>
</div>