-
Notifications
You must be signed in to change notification settings - Fork 4
CityCatalyst Storage Layer
Milan Gruner edited this page Aug 1, 2023
·
2 revisions
For the installable Web API, we will use a PostgreSQL server.
We will use Sequelize migrations to set up and update the database table structures.
- SQL tables use
snake_case
for attribute names andPascalCase
for table names - sequelize ORM models (in TypeScript) use
camelCase
for property names (to better match the language conventions and so we don't have mixed case in the method names generated for relations usingsequelize-auto
. We pass the--caseProp c
flag tosequelize-auto
when generating the models to achieve this.
For the Global API, we will import data sets to a PostgreSQL server, running in Amazon's RDS hosted database platform.