Skip to content

Commit

Permalink
SMM-28 add primary key per adobe recommendations
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwaclawczyk committed Dec 18, 2024
1 parent 71ac952 commit 96ba47d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,9 @@
<index referenceId="SNOWMENU_CUSTOMER_NODE_ID" indexType="btree">
<column name="node_id"/>
</index>
<constraint xsi:type="primary" referenceId="SNOWMENU_CUSTOMER_NODE_ID_GROUP_ID">
<column name="node_id"/>
<column name="group_id"/>
</constraint>
</table>
</schema>
3 changes: 2 additions & 1 deletion etc/db_schema_whitelist.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
"SNOWMENU_CUSTOMER_NODE_ID": true
},
"constraint": {
"SNOWMENU_CUSTOMER_NODE_ID_SNOWMENU_NODE_NODE_ID": true
"SNOWMENU_CUSTOMER_NODE_ID_SNOWMENU_NODE_NODE_ID": true,
"PRIMARY": true
}
}
}

0 comments on commit 96ba47d

Please sign in to comment.