Mostly Initial Setup And Testing Stuff

This commit is contained in:
Annika Merris 2024-01-26 17:11:42 -05:00
parent 8c147b23d8
commit d52d9968ba
12 changed files with 502 additions and 0 deletions

22
docker/docker-compose.yml Normal file
View file

@ -0,0 +1,22 @@
# Use postgres/example user/password credentials
version: '3.1'
services:
db:
image: postgres
restart: always
environment:
POSTGRES_USER: isl
POSTGRES_PASSWORD: development
POSTGRES_DB: isl
volumes:
- ./data:/var/lib/postgresql/data
- ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
ports:
- 5432:5432
adminer:
image: adminer
restart: always
ports:
- 8080:8080

View file

@ -0,0 +1,12 @@
CREATE TABLE powerItem (
id uuid PRIMARY KEY DEFAULT gen_random_uuid(),
itemType int NOT NULL,
iconURL text NOT NULL,
itemName text NOT NULL,
minItemPower integer NOT NULL,
maxItemPower integer NOT NULL,
rarity int NOT NULL,
origin text NOT NULL,
tooltip text NULL,
isEventItem boolean
)