I have 2 files, database.db
and schema.sql
. schema.sql is generated in the database using the command:
sqlite3 database.db < schema.sql
The database.db is then updated dynamically locally. The question I want solved is that the version of database.db I want on my remote repository is the one that just contains the tables and table rows as declared in schema.sql. The goal here is that I don't want merge conflicts in database.db as we are multiple people working on this repository and we are likely to want to have different databases.
So far I have only tried adding database.db to the repository's .gitignore which doesn't work.