16 ms·
Do you store the binary .sqlite in Git or source .sql and build the .sqlite?
by kozhevnikov 8y ago
Do you store the binary .sqlite in Git or source .sql and build the .sqlite?
- bachmeier 8y agoWouldn't tracking the binary with Git make a new copy on every commit?
- aphx 8y agoThe .db file can change, even if the data/records don't. One approach is to dump the sql to text and store that in git. (e.g. https://stackoverflow.com/a/846665 https://stackoverflow.com/a/846665)
- kimi 8y agoI store the binary; it's small. But of course you could use a filter, e.g. https://github.com/DataWraith/gitfilters https://github.com/DataWraith/gitfilters