A few table designer improvements && bump STS to .227 (#18982)

* Add unified col for data type deit

* remove seperate type setting cols and rename unified col to 'type'

* remove advanced type from properties window

* add description to col, idx, constraints

* nit

* bump STS to .227
This commit is contained in:
Hai Cao
2022-04-08 15:00:56 -07:00
committed by GitHub
parent 4191ef8aa5
commit 0738c148ca
4 changed files with 66 additions and 8 deletions

View File

@@ -971,11 +971,14 @@ export namespace designers {
CheckConstraints = 'checkConstraints',
Indexes = 'indexes',
PrimaryKeyName = 'primaryKeyName',
PrimaryKeyDescription = 'primaryKeyDescription',
PrimaryKeyColumns = 'primaryKeyColumns'
}
export enum TableColumnProperty {
Name = 'name',
Description = 'description',
AdvancedType = 'advancedType',
Type = 'type',
AllowNulls = 'allowNulls',
DefaultValue = 'defaultValue',
@@ -987,6 +990,7 @@ export namespace designers {
export enum TableForeignKeyProperty {
Name = 'name',
Description = 'description',
ForeignTable = 'foreignTable',
OnDeleteAction = 'onDeleteAction',
OnUpdateAction = 'onUpdateAction',
@@ -1000,11 +1004,13 @@ export namespace designers {
export enum TableCheckConstraintProperty {
Name = 'name',
Description = 'description',
Expression = 'expression'
}
export enum TableIndexProperty {
Name = 'name',
Description = 'description',
Columns = 'columns'
}