From ed07fa1fbbe99274a01301ce58348d6ccad1bca3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 4 Mar 2021 09:28:32 +0300 Subject: [PATCH] remove manual loading of base database schema --- app/startup.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/app/startup.sh b/app/startup.sh index 24f6213..5eafc33 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -63,14 +63,6 @@ for d in cache lock feed-icons; do find $DST_DIR/$d -type f -exec chmod 666 {} \; done -RESTORE_SCHEMA=${SCRIPT_ROOT}/restore-schema.sql.gz - -if [ -r $RESTORE_SCHEMA ]; then - zcat $RESTORE_SCHEMA | $PSQL -elif ! $PSQL -e 'select * from ttrss_version'; then - $PSQL < /var/www/html/tt-rss/schema/ttrss_schema_mysql.sql -fi - # this was previously generated rm -f $DST_DIR/config.php.bak