Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up Table Schema #53

Closed
samuelstroschein opened this issue Aug 21, 2024 — with Linear · 0 comments
Closed

Clean up Table Schema #53

samuelstroschein opened this issue Aug 21, 2024 — with Linear · 0 comments

Comments

Copy link
Member

Context

For simplicity, we refrained from correctly defining table types as kysely describes in https://kysely.dev/docs/getting-started#types.

  • leads to type problems with generated columns (LIX-95)
  • defined created_at as potentially undefined even though its always defined but inserts don't have to provide the type

Proposal

Define the database schema correctly like https://kysely.dev/docs/getting-started#types shows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant