No row should be uniqued for subscription
This commit is contained in:
parent
dfd5de48d2
commit
1cdd758604
1 changed files with 4 additions and 3 deletions
|
@ -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:
|
For the `subs` portion, enter the following in the SQL Editor and click Run:
|
||||||
```sql
|
```sql
|
||||||
create table
|
create table
|
||||||
public.usersubslist (
|
public.subs (
|
||||||
"Id" text not null,
|
"Id" text not null,
|
||||||
"UserSubscribed" text null,
|
"UserSubscribed" text not null,
|
||||||
"Platform" text 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;
|
) tablespace pg_default;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue