Replaced prisma with drizzle

This commit is contained in:
2024-11-09 15:38:28 -06:00
parent d1daab45cc
commit 041b18586c
12 changed files with 1502 additions and 348 deletions

View File

@@ -9,7 +9,7 @@
# On Linux and macOS you can run this script directly - `./start-database.sh`
DB_CONTAINER_NAME="ls-postgres"
DB_CONTAINER_NAME="d__dev_ls-postgres"
if ! [ -x "$(command -v docker)" ]; then
echo -e "Docker is not installed. Please install docker and try again.\nDocker install guide: https://docs.docker.com/engine/install/"
@@ -55,6 +55,6 @@ docker run -d \
--name $DB_CONTAINER_NAME \
-e POSTGRES_USER="postgres" \
-e POSTGRES_PASSWORD="$DB_PASSWORD" \
-e POSTGRES_DB=ls \
-e POSTGRES_DB=d__dev_ls \
-p "$DB_PORT":5432 \
docker.io/postgres && echo "Database container '$DB_CONTAINER_NAME' was successfully created"