Skip to content

Commit 74971a5

Browse files
committed
B2B-1663: Add Primary Key on Magento CE DB Tables
1 parent e7bea84 commit 74971a5

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

app/code/Magento/Integration/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"consumer_id": true
5555
},
5656
"constraint": {
57+
"PRIMARY": true,
5758
"OAUTH_NONCE_CONSUMER_ID_OAUTH_CONSUMER_ENTITY_ID": true,
5859
"OAUTH_NONCE_NONCE_CONSUMER_ID": true
5960
},
@@ -94,4 +95,4 @@
9495
"OAUTH_TOKEN_REQUEST_LOG_USER_NAME_USER_TYPE": true
9596
}
9697
}
97-
}
98+
}

app/code/Magento/LoginAsCustomerAssistance/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44
"customer_id": true
55
},
66
"constraint": {
7+
"PRIMARY": true,
78
"LOGIN_AS_CSTR_ASSISTANCE_ALLOWED_CSTR_ID_CSTR_ENTT_ENTT_ID": true,
89
"LOGIN_AS_CUSTOMER_ASSISTANCE_ALLOWED_CUSTOMER_ID": true
910
}
1011
}
11-
}
12+
}

app/code/Magento/ProductVideo/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
"metadata": true
1111
},
1212
"constraint": {
13+
"PRIMARY": true,
1314
"FK_6FDF205946906B0E653E60AA769899F8": true,
1415
"CAT_PRD_ENTT_MDA_GLR_VAL_VIDEO_STORE_ID_STORE_STORE_ID": true,
1516
"CAT_PRD_ENTT_MDA_GLR_VAL_VIDEO_VAL_ID_STORE_ID": true
1617
}
1718
}
18-
}
19+
}

app/code/Magento/Widget/etc/db_schema_whitelist.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"WIDGET_INSTANCE_PAGE_LAYOUT_PAGE_ID": true
5757
},
5858
"constraint": {
59+
"PRIMARY": true,
5960
"WIDGET_INSTANCE_PAGE_LAYOUT_PAGE_ID_WIDGET_INSTANCE_PAGE_PAGE_ID": true,
6061
"WIDGET_INSTANCE_PAGE_LYT_LYT_UPDATE_ID_LYT_UPDATE_LYT_UPDATE_ID": true,
6162
"WIDGET_INSTANCE_PAGE_LAYOUT_LAYOUT_UPDATE_ID_PAGE_ID": true
@@ -95,4 +96,4 @@
9596
"LAYOUT_LINK_THEME_ID_THEME_THEME_ID": true
9697
}
9798
}
98-
}
99+
}

0 commit comments

Comments
 (0)