feat: add "Copy as SQL ALTER" to DataGrid column header context menu
Right-click a column header in the data grid to copy the ALTER TABLE statement for that column, making it easy to replicate column definitions across databases. Supports all major dialects (MySQL, Postgres, SQL Server, Oracle, ClickHouse, SQLite, DuckDB, H2). Closes #516
This commit is contained in:
1 parent
51e62d4c60
commit
6c0db6f517
12 files changed
+246
-2
No files matched your search
@@ -526,6 +526,11 @@ export default {
|
||||
setNull: "Set NULL",
|
||||
restoreOriginalValue: "Restore Original",
|
||||
copyColumnName: "Copy Column Name",
|
||||
copyAlterColumnSql: "Copy as SQL ALTER",
|
||||
alterSqlCopied: "SQL ALTER copied to clipboard",
|
||||
alterSqlCopiedWithWarnings: "SQL ALTER copied to clipboard ({count} warning(s))",
|
||||
noAlterSqlAvailable: "No ALTER SQL available for this column",
|
||||
copyAlterSqlFailed: "Copy failed: {message}",
|
||||
copySqlCondition: "Copy SQL Condition",
|
||||
transpose: "Transpose Row",
|
||||
rowsPerPageShort: " rows",
|
||||
|
||||
@@ -521,6 +521,11 @@ export default {
|
||||
setNull: "设为 NULL",
|
||||
restoreOriginalValue: "恢复原值",
|
||||
copyColumnName: "复制列名",
|
||||
copyAlterColumnSql: "复制为SQL ALTER",
|
||||
alterSqlCopied: "SQL ALTER 已复制到剪贴板",
|
||||
alterSqlCopiedWithWarnings: "SQL ALTER 已复制到剪贴板(含 {count} 条警告)",
|
||||
noAlterSqlAvailable: "该列无 ALTER SQL 可复制",
|
||||
copyAlterSqlFailed: "复制失败:{message}",
|
||||
copySqlCondition: "复制 SQL 条件",
|
||||
transpose: "转置查看",
|
||||
rowsPerPageShort: " 行/页",
|
||||
|
||||
Reference in new issue
Block a user