Visualize database
October 2, 2023 ยท View on GitHub
- Start Docker Desktop
- Run the app on an emulator
- Open Device Explorer in Android Studio
- Copy
/data/data/io.github.lydavid.musicsearch.debug/databases/mbjc.dbto project root - Run the following with Powershell
docker run `
--mount type=bind,source="${PWD}",target=/home/schcrwlr `
--rm -it `
schemacrawler/schemacrawler `
/opt/schemacrawler/bin/schemacrawler.sh `
--server=sqlite `
--database=musicsearch.db `
--info-level=standard `
--command=schema `
--output-file=assets/musicsearch_db_schema.svg