Commit Graph

15 Commits

Author SHA1 Message Date
Robbie Antenesse 383607c7cf Correctly format & return shelf values 2020-09-14 12:44:54 -06:00
Robbie Antenesse 97247373a9 Fix invalid PGSQL data type for permissionLevel 2020-07-28 11:53:05 -06:00
Robbie Antenesse f12f8b987a Give permissionLevel columns defaultValue of Private
If not included from UI or otherwise excluded, make it private
2020-02-24 10:47:08 -07:00
Robbie Antenesse e0a8c21051 Add deleteShelfItem endpoint 2020-02-24 09:59:55 -07:00
Robbie Antenesse a3f6137dec Add extra scopes and associations for Review and BookReference 2020-02-06 17:27:45 -07:00
Robbie Antenesse ccf55e1955 Fix incorrect declarations 2020-02-06 17:27:22 -07:00
Robbie Antenesse 0189a5cab0 Update BookReference model
Add locale; change sources to object with keys = source and value = id
2020-02-06 09:55:09 -07:00
Robbie Antenesse ae95bf7a0c Add db diagram script and output
Will update NPM source if PR is accepted & published
2020-01-25 13:54:01 -07:00
Robbie Antenesse b1da2f81c7 Sequelize model relationship fixes 2020-01-25 13:52:37 -07:00
Robbie Antenesse b9c9c6bec6 Initial attempt at setting up a Follower scheme 2020-01-20 09:47:31 -08:00
Robbie Antenesse 7d77a5a8f5 Add Reaction model with associations on Status & Review 2020-01-15 15:36:26 -07:00
Robbie Antenesse 071e1e6586 Update sequelize & DB setup:
- Split models & associations into their own files
- Update columns and requirements
- Create PermissionLevel model & add to relevant models
2020-01-14 15:47:44 -07:00
Robbie Antenesse 86897be78a DB: Split Review from Status; remove StatusTypes 2020-01-12 22:55:38 -07:00
Robbie Antenesse cdcaef11c1 Add framework for database setup and migration 2019-12-08 00:06:21 -07:00
Robbie Antenesse b9378a2356 Move getSequelizeModels to sequelize folder 2019-12-07 22:41:13 -07:00