Hi all,
I’ve been struggling with the problem of how to setup my database for my new app, so I thought, maybe you guys have some good ideas.
What I plan to do:
- I’m creating a reference app that also features a quiz functionality. Basically it’s a bunch of items in several categories with some info and an image.
- At first the user has access to 1-2 categories and can unlock others via in-app purchases.
- I’m probably going to add more categories over time.
- Right now I have a giant spreadsheet with all the information
My problem:
What is the best way to convert this spreadsheet to include in an app?
I see a couple of sollutions:
- convert the spreadsheet to a csv file and convert that to a giant lua table every time the app starts
- convert the spreadsheet to a csv and use that to populate a sqlite db (this is probably faster, but how do I go about when I update the csv in future updates?)
- stop using a spreadsheet and start using a database so I can export an sql and include that in the app code? But I’m not sure what to use to create and manage this database …
Does anyone have any brilliant ideas how to best tackle this?