Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
chore: type gen for the new endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyxiao committed Feb 29, 2024
1 parent 0dfd5d1 commit c44e414
Show file tree
Hide file tree
Showing 3 changed files with 580 additions and 82 deletions.
2 changes: 1 addition & 1 deletion packages/db/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const generated = <T = undefined>(
// https://discord.com/channels/1043890932593987624/1156712008893354084/1209669640637382739
// however it is still useful to leave it here so migration can produce semi-correct SQL
dataType() {
console.debug(
console.error(
'Please manually modify the migration to add the generated column',
`${name} ${dataType} GENERATED ALWAYS AS (${expr}) STORED`,
)
Expand Down
Loading

0 comments on commit c44e414

Please sign in to comment.