mirror of
https://github.com/azaion/admin.git
synced 2026-04-22 10:16:32 +00:00
[AZ-189] Fix e2e test run
Made-with: Cursor
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
set -eu
|
||||
SQL_DIR=/docker-entrypoint-initdb.d/sql
|
||||
psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -d postgres -f "$SQL_DIR/01_permissions.sql"
|
||||
psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -d azaion -f "$SQL_DIR/02_structure.sql"
|
||||
sed 's/^drop table users;/drop table if exists users;/' "$SQL_DIR/02_structure.sql" \
|
||||
| psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -d azaion
|
||||
psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -d azaion -f "$SQL_DIR/03_add_timestamp_columns.sql"
|
||||
psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -d azaion -f "$SQL_DIR/99_test_seed.sql"
|
||||
psql -v ON_ERROR_STOP=1 -U "$POSTGRES_USER" -d azaion -f /opt/test-seed.sql
|
||||
|
||||
Reference in New Issue
Block a user