mirror of
				https://git.tt-rss.org/fox/ttrss-docker-compose
				synced 2025-11-04 09:54:13 +01:00 
			
		
		
		
	remove manual loading of base database schema
This commit is contained in:
		
							parent
							
								
									20a8c65450
								
							
						
					
					
						commit
						ed07fa1fbb
					
				
					 1 changed files with 0 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue