Typo on Astro DB Homepage in Code Example
Closed this issue · 1 comments
1p0d commented
Astro Info
-
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
There's a typo on the new Astro DB homepage in the Auth code example on the line of the userId column definition.
Current state:
const Sessions = defineTable({
columns: {
id: column.number({ primaryKey: true }),
userId: id: column.number({ references: () => User.columns.id }),
expiresAt: column.number(),
}
})
What's the expected result?
Expected:
const Sessions = defineTable({
columns: {
id: column.number({ primaryKey: true }),
userId: column.number({ references: () => User.columns.id }),
expiresAt: column.number(),
}
})
Link to Minimal Reproducible Example
Participation
- I am willing to submit a pull request for this issue.
ElianCodes commented