feat: external_ids table is added for binding user sessions in tg and
other services
This commit is contained in:
parent
bac889b627
commit
83fee98059
1 changed files with 6 additions and 0 deletions
|
|
@ -85,6 +85,12 @@ CREATE TABLE signals (
|
|||
pending boolean NOT NULL
|
||||
);
|
||||
|
||||
CREATE TABLE external_ids (
|
||||
user_id NOT NULL REFERENCES users (id),
|
||||
service_id text NOT NULL,
|
||||
external_ids text NOT NULL
|
||||
);
|
||||
|
||||
-- Functions
|
||||
CREATE OR REPLACE FUNCTION update_title_rating()
|
||||
RETURNS TRIGGER AS $$
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue