Skip to content
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

Break out references to other objects into own tables instead of putting them as JSON #40

Open
2 tasks
bitfl0wer opened this issue Aug 20, 2024 · 0 comments

Comments

@bitfl0wer
Copy link
Member

bitfl0wer commented Aug 20, 2024

In tables which contain references to other Rust objects, those references should be foreign keys to a table where that object is stored in, instead of being contained in the first table as JSON.

Example:

  • A table guilds exists
  • Table guilds has a column owner, which represents a user
  • Instead of storing the user as JSON in the guilds table, the owner column should contain a foreign key to the users table, where the user is actually stored.

Todos:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant