4 ms·
I'm more wondering about whether or not this Sqlite DB is actually a "source file", that is something that is not generated by something else, which is normally
by astrobe_ 3y ago
I'm more wondering about whether or not this Sqlite DB is actually a "source file", that is something that is not generated by something else, which is normally the base material for both make and Git.
Obviously an SQLite DB cannot be created ex nihilo, so it is not a source file. Isn't it a bit dangerous to store the database file in the repo, and not the mean to generate it? If both are included in the repo, it then seems redundant (reproducible builds concerns, maybe?).
Seeing that many people are interested in this topic, I wonder in which cases they would however want to track that file in Git.
- jiehong 3y ago> Obviously an SQLite DB cannot be created _ex nihilo_ Well, you can create it as a 0 bytes file with touch. However, you can do better, and run `sqlite3 mydb.db 'VACUUM;'`.