From 1cdd758604572b9481dc2bf0bd65c8ffc6269602 Mon Sep 17 00:00:00 2001 From: Korbs Date: Wed, 17 Jul 2024 19:50:11 -0400 Subject: [PATCH] No row should be uniqued for subscription --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b5a6fa9..2ec5ae9 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,12 @@ For the `channels` portion, you can import the premade CSV file made for this pr For the `subs` portion, enter the following in the SQL Editor and click Run: ```sql create table - public.usersubslist ( + public.subs ( "Id" text not null, - "UserSubscribed" text null, + "UserSubscribed" text not null, "Platform" text null, - "Subscribed" boolean not null default false + constraint subs_pkey primary key ("Id", "UserSubscribed"), + constraint subs_UserSubscribed_key unique ("UserSubscribed") ) tablespace pg_default; ```