Table "team.social_share_like"

ColumnTypeNullableDefaultStorageDescription
"likeId"bigintnot nullnextval('"SocialShareLike_likeId_seq"'::regclass)plain
"shareId"bigintnot nullplain
"userId"integerplain
"reactionId"integerplain
"createdAt"timestamp with time zonenow()plain
"updatedAt"timestamp with time zonenow()plain
"projectId"integerplain

Indexes:

"SocialShareLike_pkey" PRIMARY KEY, btree ("likeId")
"socialsharelike_shareid_userid_index" btree ("shareId", "userId")
"socialsharelike_userid_shareid_index" btree ("userId", "shareId")
Foreign-key constraints:
"FK_SocialShareComment_shareId" FOREIGN KEY ("shareId") REFERENCES social_share("shareId") ON UPDATE CASCADE ON DELETE CASCADE
"FK_SocialShareComment_userId" FOREIGN KEY ("userId") REFERENCES "user"("userId") ON UPDATE CASCADE ON DELETE CASCADE

Access method:

heap
Last updated on by John Gracey