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