security/codeql-dependabot-gitleaks
| 1 | import { model } from "@medusajs/framework/utils" |
| 2 | |
| 3 | const IndexData = model.define("IndexData", { |
| 4 | id: model.text().primaryKey(), |
| 5 | name: model.text().primaryKey(), |
| 6 | data: model.json().default({}), |
| 7 | staled_at: model.dateTime().nullable(), |
| 8 | // document_tsv: model.tsvector(), NOTE: This is not supported and it is here for reference of its counter part in the migration |
| 9 | }) |
| 10 | |
| 11 | export default IndexData |