[#40] BACKEND USER, Company

https://project.mdnd-it.cc/work_packages/40
This commit is contained in:
2025-06-15 01:12:46 +02:00
parent f68540f511
commit fa868e7c1d
32 changed files with 6337 additions and 860 deletions
+5 -4
View File
@@ -1,6 +1,7 @@
#!/bin/bash
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
CREATE DATABASE "${DB_1}";
CREATE DATABASE "${DB_2}";
CREATE DATABASE "${DB_3}";
mariadb -uroot -p"$MYSQL_ROOT_PASSWORD" <<EOSQL
CREATE DATABASE IF NOT EXISTS \`${DB_2}\`;
CREATE DATABASE IF NOT EXISTS \`${DB_3}\`;
CREATE DATABASE IF NOT EXISTS \`${DB_4}\`;
EOSQL