Skip to content

Instantly share code, notes, and snippets.

@boccato
Created February 9, 2012 16:56
Show Gist options
  • Save boccato/1781076 to your computer and use it in GitHub Desktop.
Save boccato/1781076 to your computer and use it in GitHub Desktop.
create table discussoes (id number, assunto_id number);
insert into discussoes values (1, 6);
insert into discussoes values (2, 7);
insert into discussoes values (3, 8);
create table seguidor_assunto (usuario_id number, assunto_id number);
insert into seguidor_assunto values (95, 7);
create table seguidor_discussao (usuario_id number, discussao_id number);
insert into seguidor_discussao values (95, 1);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment