-
Notifications
You must be signed in to change notification settings - Fork 82
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
Merge schemas? #78
Comments
Yes, sure. |
I think the best location is Then, there's also some SQL for schema creation embedded in the |
@ignasi35 why do you think it's better to split into two files? |
I like having smaller, more clear pieces: a sql file for the journal and snapshots and another one for the offset store and, finally, the third one for user-provided tables. Then, if we think it's useful, a fourth one (preceding them all) to create the database schema(s). This will be a pattern easy to reproduce in, for example, the |
Works for me. Any objections? (I'm doing a revision of the deployment guide, so I'll sync that up with this.) |
I'm fine with it. |
I noticed that the deployment scripts for shopping cart were moved up a level, outside of the Java/Scala specific projects.
Should we do the same for the "schemas" directory?
https://github.com/lagom/lagom-samples/blob/1.5.x/shopping-cart/shopping-cart-java/schemas/shopping-cart.sql
https://github.com/lagom/lagom-samples/blob/1.5.x/shopping-cart/shopping-cart-scala/schemas/shopping-cart.sql
(They're identical)
The text was updated successfully, but these errors were encountered: