replace legacy ratings route with group ratings
This commit is contained in:
parent
a39a0e6442
commit
75391b1ca2
6 changed files with 207 additions and 16 deletions
8
unwind/sql/20210705-224139.sql
Normal file
8
unwind/sql/20210705-224139.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- add groups table
|
||||
|
||||
CREATE TABLE groups (
|
||||
id TEXT PRIMARY KEY NOT NULL,
|
||||
name TEXT NOT NULL,
|
||||
secret TEXT NOT NULL,
|
||||
users TEXT NOT NULL -- JSON array
|
||||
);;
|
||||
Loading…
Add table
Add a link
Reference in a new issue