0 rows where user_id = 1210

View and edit SQL

0 records

CREATE TABLE [contributors] (
   [repo_id] INTEGER REFERENCES [repos]([id]),
   [user_id] INTEGER REFERENCES [users]([id]),
   [contributions] INTEGER,
   PRIMARY KEY ([repo_id], [user_id])
);
CREATE INDEX [idx_contributors_user_id]
                ON [contributors] ([user_id]);
CREATE INDEX [idx_contributors_repo_id]
                ON [contributors] ([repo_id]);