docs: document composite indices + primary key changes (#7902)

This commit is contained in:
Shahed Nasser
2024-07-02 12:34:44 +03:00
committed by GitHub
parent a84e5a6ced
commit 6cb28eedf7
13 changed files with 205 additions and 93 deletions
@@ -94,7 +94,7 @@ export const restockModelHighlights = [
import { model } from "@medusajs/utils"
const RestockNotification = model.define("restock_notification", {
id: model.id(),
id: model.id().primaryKey(),
email: model.text(),
variant_id: model.text(),
sales_channel_id: model.text(),