Go to file
Ean Milligan 6d54bb9a33 . 2024-08-23 18:15:51 -04:00
.gitignore add wrangler and readme 2024-08-23 18:14:10 -04:00
README.md add wrangler and readme 2024-08-23 18:14:10 -04:00
schema.dia Update db design, partially fill out README 2024-08-22 19:31:00 -04:00
schema.png Update db design, partially fill out README 2024-08-22 19:31:00 -04:00
test.sql . 2024-08-23 18:15:51 -04:00
wrangler.example.toml add wrangler and readme 2024-08-23 18:14:10 -04:00

README.md

dutylog.app DB Schema

This repository will house any initialization scripts, constant data, design notes, and really anything else related to the database.

Design Notes

All activities will be stored in our own database for simplicity and so that data can be formatted in a usable setup. Activity names will not be stored in the DB and instead will live in a [type].[lang].json file in their game translated forms.

The current plan is to host this database on Cloudflare D1, which is based on SQLite.

Translations

Current translation file list:

  • language.[lang].json
  • servers.[lang].json
  • expansions.[lang].json
  • instance_types.[lang].json
  • instances.[lang].json
  • jobs.[lang].json

These files will be generated by the DB initialization script and will need to be moved to the www repo for build/deployment.