Skip to content

feat: add db.sqlite to gitignore #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 16, 2022
Merged

feat: add db.sqlite to gitignore #201

merged 2 commits into from
Jul 16, 2022

Conversation

c-ehrlich
Copy link
Member

@c-ehrlich c-ehrlich commented Jul 16, 2022

Add db.sqlite to gitignore

  • I reviewed linter warnings + errors, resolved formatting, types and other issues related to my work
  • The PR title follows the convention we established conventional-commit
  • I performed a functional test on my final commit

[Short summary/description of story/feature/bugfix]

As mentioned in #200, the db.sqlite file created by the default prisma config was not included in .gitignore.

I believe it's better to include it - Because we're not automatically creating a 'project initialized commit', it's easy to overlook the db file among all the other files that exist in version history after you initialize the app, and accidentally commit it.

If desired this could be changed to only include that line in the .gitignore if prisma is selected during initialization, but this way is much simpler and personally I think don't think it's an issue to just include it in .gitignore for everyone.


💯

@nexxeln
Copy link
Member

nexxeln commented Jul 16, 2022

Thank you

@nexxeln
Copy link
Member

nexxeln commented Jul 16, 2022

Cool thanks!

@nexxeln nexxeln merged commit 90371c7 into t3-oss:main Jul 16, 2022
@c-ehrlich c-ehrlich deleted the db-gitignore branch July 17, 2022 09:22
korawit-dvtx pushed a commit to korawit-dvtx/create-devviantex-nextjs-app-deprecated that referenced this pull request Jun 9, 2024
* feat: add db.sqlite to gitignore

* fix: db path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants