forked from Alexey/DAS_2024_1
8 lines
190 B
Bash
8 lines
190 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
# Создаем БД
|
||
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
||
|
CREATE DATABASE company;
|
||
|
CREATE DATABASE vacancy;
|
||
|
EOSQL
|