mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #5381 from overleaf/jpa-sqlite-cleanup
[misc] cleanup some more references following the removal of sqlite GitOrigin-RevId: db5db9c0e2ba2557b11d64f65fdb5db1dcd2ec74
This commit is contained in:
@@ -27,9 +27,3 @@ chown www-data:www-data /var/lib/sharelatex/tmp/uploads
|
||||
|
||||
mkdir -p /var/lib/sharelatex/tmp/dumpFolder
|
||||
chown www-data:www-data /var/lib/sharelatex/tmp/dumpFolder
|
||||
|
||||
if [ ! -e "/var/lib/sharelatex/data/db.sqlite" ]; then
|
||||
touch /var/lib/sharelatex/data/db.sqlite
|
||||
fi
|
||||
|
||||
chown www-data:www-data /var/lib/sharelatex/data/db.sqlite
|
||||
|
||||
@@ -153,25 +153,6 @@ const settings = {
|
||||
project_history: redisConfig,
|
||||
},
|
||||
|
||||
// The compile server (the clsi) uses a SQL database to cache files and
|
||||
// meta-data. sqlite is the default, and the load is low enough that this will
|
||||
// be fine in production (we use sqlite at sharelatex.com).
|
||||
//
|
||||
// If you want to configure a different database, see the Sequelize documentation
|
||||
// for available options:
|
||||
//
|
||||
// https://github.com/sequelize/sequelize/wiki/API-Reference-Sequelize#example-usage
|
||||
//
|
||||
mysql: {
|
||||
clsi: {
|
||||
database: 'clsi',
|
||||
username: 'clsi',
|
||||
password: '',
|
||||
dialect: 'sqlite',
|
||||
storage: Path.join(DATA_DIR, 'db.sqlite'),
|
||||
},
|
||||
},
|
||||
|
||||
// File storage
|
||||
// ------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user