Skip to content

[BUG] Critical: SQLite Database (wardha.db) is Committed to the Repository #178

@Venkatkalyan21

Description

@Venkatkalyan21

The SQLite database file database/wardha.db is currently being tracked by Git and is present in the main branch.

This is a critical issue for several reasons:

Security Risk: If any sensitive user data (even for testing) is ever added, it could be accidentally committed and pushed to this public repository, exposing it to everyone.

Repository Bloat: Database files are binary and can grow very large. Committing them directly to Git makes the repository slow to clone and increases its size unnecessarily.

Merge Conflicts: As a binary file, any two people making changes to their local database will create a merge conflict that is impossible to resolve, blocking pull requests.

Bad Practice: Database files are considered runtime data, not project source code, and should never be version-controlled.

Acceptance Criteria:

  • The database/wardha.db file must be removed from the Git repository's history.
  • The .gitignore file must be updated to ignore all .db files in the future.
  • The README.md should be updated with instructions for new contributors on how to create their own local database.

Suggested Fix:

  • Use git filter-repo or BFG Repo-Cleaner to remove database/wardha.db from history.
  • Add *.db to .gitignore.
  • Update README.md with DB creation/setup instructions.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions