-
Notifications
You must be signed in to change notification settings - Fork 14
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 SQL scripts #193
Comments
I agree. Are there any takers on this? |
I was thinking about doing it unless someone else wants to take it up. |
I'll hold off if you've got your eye on it |
@Psypher9 (or anyone else) If you want to take this on, then you are more than welcome. I'm going to focus on other issues in the code for the time being. |
Alright, sounds good! I'll see if I can make a space for it |
This cleans up a lot of ambiguity in the SQL data structure. |
I'm building a new environment and when executing the dev-install.sh script I received a few errors during the SQL setup portion.
|
Okay I see the problem, the data scripts don't use the appropriate database first. I can get this added into them. |
closed after minor patch |
Lessons learned from previous attempts.
|
Currently, there exists two SQL files used to set up the database. These files are
rift.sql
andrift_core.sql
. These files are huge text splats that contain a mix of schema definitions and data. In their current state, it makes it hard to reason about or make changes to the files / tables / data.We should think about breaking these schemas / data bits into their own files in a
db
directory or some other suitable named directory. While we're at it, we could format the files better and include better documentation.Possible directory structure:
The text was updated successfully, but these errors were encountered: