-
Notifications
You must be signed in to change notification settings - Fork 33
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
Sqlite typeorm #1774
base: main
Are you sure you want to change the base?
Sqlite typeorm #1774
Conversation
import { Post } from '../entities/posts/db'; | ||
import { User } from '../entities/users/db'; | ||
|
||
// TODO figure out migrations |
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.
Does this TODO need to be addressed as part of this PR?
src/lib/globals.ts
Outdated
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.
I mean obviously not, but I thought we already had this
examples/sqlite_typeorm/src/index.ts
Outdated
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.
Abstracting this would be nice if it doesn't abuse JS too much
@@ -487,11 +487,11 @@ function postsTestsAfterBatch(origin: string): Test[] { | |||
{ | |||
name: '/posts not empty', | |||
test: async () => { | |||
const response = await fetch(`${origin}/posts?limit=300`); | |||
const response = await fetch(`${origin}/posts?limit=200`); |
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.
Why are these 200 now instead of 300? Can they be a const instead of a magic number?
No description provided.