security/codeql-dependabot-gitleaks
| 1 | import { model } from "@medusajs/framework/utils" |
| 2 | |
| 3 | const IndexRelation = model.define("IndexRelation", { |
| 4 | id: model.autoincrement().primaryKey(), |
| 5 | pivot: model.text(), |
| 6 | parent_name: model.text(), |
| 7 | parent_id: model.text(), |
| 8 | child_name: model.text(), |
| 9 | child_id: model.text(), |
| 10 | staled_at: model.dateTime().nullable(), |
| 11 | }) |
| 12 | |
| 13 | export default IndexRelation |