-
Notifications
You must be signed in to change notification settings - Fork 1
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
seed update #199
seed update #199
Conversation
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.
A couple comments, also as we talked about the rate limit, I've been thinking of amount with the "/" we discussed and then ISO8601 period after the slash. So we could allow things like "100000/P1W" and such.
services/postgres/schema.prisma
Outdated
provider = "postgresql" | ||
url = env("DATABASE_URL") | ||
provider = "postgresql" | ||
url = "postgresql://postgres:AZhRAs18Pr7dT2a@localhost:9999" |
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 don't think you meant to check this in.
services/postgres/seed.ts
Outdated
validationType: "regex", | ||
validationValue: "*", // <-- @note: this is a placeholder, since I couldnt find a regex for this | ||
validationValue: "^d+/Pd+Yd+Md+Wd+Dd+Hd+Md+S$", |
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 think we want to make the segments optional. For example "1000/P1D" should be valid. Also, there are two M
signifiers which is ambiguous on the parsing. I recommend using the ISO8601 spec.
No description provided.