feat: add primary key editing to table structure editor
Add PK checkbox column in Vue dialog, alter_primary_key capability flag, build_primary_key_sql() for PostgreSQL/MySQL ALTER TABLE PK changes, and i18n labels in zh-CN/en/es. Includes flicker fix (silent reload after apply) and move ready badge to SQL preview header.
This commit is contained in:
1 parent
479f4623db
commit
72d5435535
5 files changed
+273
-9
No files matched your search
@@ -888,6 +888,7 @@ export default {
|
||||
columnName: "Column",
|
||||
dataType: "Type",
|
||||
nullable: "Nullable",
|
||||
primaryKey: "Primary Key",
|
||||
defaultValue: "Default",
|
||||
comment: "Comment",
|
||||
editComment: "Edit comment",
|
||||
|
||||
@@ -785,6 +785,7 @@ export default {
|
||||
columnName: "Columna",
|
||||
dataType: "Tipo",
|
||||
nullable: "Admite nulos",
|
||||
primaryKey: "Clave primaria",
|
||||
defaultValue: "Valor por defecto",
|
||||
comment: "Comentario",
|
||||
editComment: "Editar comentario",
|
||||
|
||||
@@ -869,6 +869,7 @@ export default {
|
||||
columnName: "字段名",
|
||||
dataType: "类型",
|
||||
nullable: "可为空",
|
||||
primaryKey: "主键",
|
||||
defaultValue: "默认值",
|
||||
comment: "注释",
|
||||
editComment: "编辑注释",
|
||||
|
||||
Reference in new issue
Block a user