mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 09:36:01 +00:00
db alter plan improvements
This commit is contained in:
@@ -159,6 +159,7 @@ export function tableInfoFromYaml(table: TableInfoYaml, allTables: TableInfoYaml
|
||||
pureName: table.name,
|
||||
isUnique: index.unique,
|
||||
constraintType: 'index',
|
||||
filterDefinition: index.filter,
|
||||
columns: [
|
||||
...index.columns.map(columnName => ({ columnName })),
|
||||
...(index.included || []).map(columnName => ({ columnName, isIncludedColumn: true })),
|
||||
|
||||
Reference in New Issue
Block a user