Parse Android Room Generated Schema to Actual SQLite Script
I want to create a .db file to pre populate my Android Room database but the database/schema is huge so I am trying to find a way not to do it manually. Basically I want to do the following:
- Generate the database schema for Room (done!)
- Generate the SQLite commands from the schema without needing to be reading the schema and copying and pasting all the scripts found in it
- Create the database on some SQL client
- Populate the database with the default data and generate a .db file from it to add into my app to be used by Room.
I need help on step 2. Thanks a lot!
from Recent Questions - Stack Overflow https://ift.tt/3wOWQmF
https://ift.tt/eA8V8J
Comments
Post a Comment