creativecommons / legaldb

CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.

Home Page:https://LegalDB.CreativeCommons.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature] Use SQLite instead of PostgreSQL for database backend

TimidRobot opened this issue · comments

Problem

use SQLite instead of PostgreSQL for database backend

Description

Known issues with SQLite do not apply:

  • the application features a very small data set that is updated infrequently by a very small group of people
  • the application does not use raw queries

Alternatives

Continue to use PostgreSQL

Additional context

status: discarded

SQLite is not supported by Heroku:

  • SQLite on Heroku | Heroku Dev Center

    Why is SQLite a bad fit for running on Heroku?

    Disk backed storage

    [...] If you were to use SQLite on Heroku, you would lose your entire database at least once every 24 hours.

    [...]

    Instead of using SQLite on Heroku you can configure your app to run on Postgres.