I'm pretty clueless about SQL and how to layout a database.
I want to store users and character sheets inside an SQLite database. I'm not really sure how I should structure my databases. I plan on the following thing:
- A table of users with a reference to the characters.
- A table of characters that contains all values that can easily be structured.
- A table of skills that contain a reference to the character that has it.
- Tables for everything that has multiple values per character in a similar fashion.
Since most of these things, that can have multiple values are simple strings I would prefer having a column that has an array.
I'm using sqlite3.
Do you think an array column is a good idea and even possible?