diff --git a/databaseSchema/Dockerfile b/databaseSchema/Dockerfile deleted file mode 100644 index b6a7f92..0000000 --- a/databaseSchema/Dockerfile +++ /dev/null @@ -1,13 +0,0 @@ -FROM postgres:latest - -ARG POSTGRES_DB_NAME -ARG POSTGRES_USER -ARG POSTGRES_PASSWORD - -ENV POSTGRES_DB=$POSTGRES_DB_NAME -ENV POSTGRES_USER=$POSTGRES_USER -ENV POSTGRES_PASSWORD=$POSTGRES_PASSWORD - -EXPOSE 5432 - -COPY *.sql /docker-entrypoint-initdb.d/ diff --git a/databaseSchema/apikey.sql b/databaseSchema/apikey.sql deleted file mode 100644 index ca518a2..0000000 --- a/databaseSchema/apikey.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE IF NOT EXISTS apikey ( - uid SERIAL PRIMARY KEY, - name VARCHAR NOT NULL, - timeCreated TIMESTAMP DEFAULT CURRENT_TIMESTAMP, - apiKey VARCHAR NOT NULL -); diff --git a/databaseSchema/docker-compose.yaml b/databaseSchema/docker-compose.yaml deleted file mode 100644 index 7f7f858..0000000 --- a/databaseSchema/docker-compose.yaml +++ /dev/null @@ -1,19 +0,0 @@ -version: '3.8' - -services: - db: - build: - context: . - dockerfile: Dockerfile - environment: - POSTGRES_DB: ${POSTGRESQL_DB} - POSTGRES_USER: ${POSTGRESQL_DB_USER} - POSTGRES_PASSWORD: ${POSTGRESQL_DB_PASSWORD} - ports: - - "5432:5432" - volumes: - - db-data:/var/lib/postgresql/data - - ./init.sql:/docker-entrypoint-initdb.d/init.sql - -volumes: - db-data: diff --git a/databaseSchema/postgres.info b/databaseSchema/postgres.info deleted file mode 100644 index 2a00290..0000000 --- a/databaseSchema/postgres.info +++ /dev/null @@ -1 +0,0 @@ -Postgres Image User: byte_admin diff --git a/databaseSchema/projects.sql b/databaseSchema/projects.sql deleted file mode 100644 index efa446b..0000000 --- a/databaseSchema/projects.sql +++ /dev/null @@ -1,12 +0,0 @@ -CREATE TABLE IF NOT EXISTS projects ( - uid SERIAL PRIMARY KEY, - name VARCHAR NOT NULL, - "short-desc" VARCHAR NOT NULL, - "long-desc" VARCHAR, - team TEXT[], - link VARCHAR, - image VARCHAR, - "tech-stack" TEXT[], - cohort VARCHAR, - topic TEXT[] -); \ No newline at end of file