-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
refactor: migrate audit repository to kysely #15269
Conversation
@@ -20,7 +20,7 @@ export class VersionHistoryRepository implements IVersionHistoryRepository { | |||
return this.db.selectFrom('version_history').selectAll().orderBy('createdAt', 'desc').executeTakeFirst(); | |||
} | |||
|
|||
@GenerateSql({ params: [DummyValue.STRING] }) | |||
@GenerateSql({ params: [{ version: DummyValue.STRING }] }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noticed this was broken when generating SQL 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lol that explains why it was missing. Why doesn't it error on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some queries throw an error. like when you try to insert a fake uuid into the album_assets intersection table. when you run make sql
it logs these errors, and there was one for this query.
2dddd7a
to
e401d72
Compare
No description provided.