You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, does anyone know about following or subscribing to a particular user? While poling around in the database, I came across a table called users_channel_subscribers with the following:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, does anyone know about following or subscribing to a particular user? While poling around in the database, I came across a table called users_channel_subscribers with the following:
Column | Type | Collation | Nullable | Default
------------+---------+-----------+----------+----------------------------------
id | integer | | not null | generated by default as identity
channel_id | integer | | not null |
user_id | integer | | not null |
Indexes:
"users_channel_subscribers_pkey" PRIMARY KEY, btree (id)
"users_channel_subscribers_channel_id_799e674b" btree (channel_id)
"users_channel_subscribers_channel_id_user_id_7ddfe9f1_uniq" UNIQUE CONSTRAINT, btree (channel_id, user_id)
"users_channel_subscribers_user_id_5ee07707" btree (user_id)
Foreign-key constraints:
"users_channel_subscr_channel_id_799e674b_fk_users_cha" FOREIGN KEY (channel_id) REFERENCES users_channel(id) DEFERRABLE INITIALLY DEFERRED
"users_channel_subscribers_user_id_5ee07707_fk_users_user_id" FOREIGN KEY (user_id) REFERENCES users_user(id) DEFERRABLE INITIALLY DEFERRED
Beta Was this translation helpful? Give feedback.
All reactions