drop RESTORE_SCHEMA, add simple mechanism to apply SQL patch files after migrations

This commit is contained in:
Andrew Dolgov
2024-10-24 11:08:20 +03:00
parent 9f0eb4d7fc
commit dba6a39d2a
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ RUN [ ! -z ${ALPINE_MIRROR} ] && \
-e 's/;\(php_admin_value\[error_log\]\) = .*/\1 = \/tmp\/error.log/' \
-e 's/;\(php_admin_flag\[log_errors\]\) = .*/\1 = on/' \
/etc/php83/php-fpm.d/www.conf && \
mkdir -p /var/www ${SCRIPT_ROOT}/config.d
mkdir -p /var/www ${SCRIPT_ROOT}/config.d ${SCRIPT_ROOT}/sql/post-up.d
ARG CI_COMMIT_BRANCH
ENV CI_COMMIT_BRANCH=${CI_COMMIT_BRANCH}