mirror of
https://github.com/withastro/astro.git
synced 2025-01-27 22:19:04 -05:00
fix(ex): add id
col to ticketing
This commit is contained in:
parent
a44c20afef
commit
656b0c2f94
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ import node from '@astrojs/node';
|
||||||
|
|
||||||
const Event = defineCollection({
|
const Event = defineCollection({
|
||||||
fields: {
|
fields: {
|
||||||
|
id: field.number({ primaryKey: true }),
|
||||||
name: field.text(),
|
name: field.text(),
|
||||||
description: field.text(),
|
description: field.text(),
|
||||||
ticketPrice: field.number(),
|
ticketPrice: field.number(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue