Skip to content

Commit

Permalink
HCK-7984: Automatically mark PK as Not Null
Browse files Browse the repository at this point in the history
  • Loading branch information
AlikRakhmonov committed Sep 18, 2024
1 parent 61ead3c commit 1f183d6
Showing 1 changed file with 210 additions and 10 deletions.
220 changes: 210 additions & 10 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -568,7 +588,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -1023,7 +1063,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -1306,7 +1366,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -1572,7 +1652,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -1837,7 +1937,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -2122,7 +2242,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -2428,7 +2568,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -2691,7 +2851,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down Expand Up @@ -2986,7 +3166,27 @@ making sure that you maintain a proper JSON format.
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox"
"propertyType": "checkbox",
"dependency": {
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"values": {
"key": "primaryKey",
"value": true
}
},
"defaultValue": false
},
{
"propertyName": "Primary key",
Expand Down

0 comments on commit 1f183d6

Please sign in to comment.