The backend for PuffPastry, a DAO platform.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

8 regels
213 B

  1. -- Your SQL goes here
  2. create table issue_votes (
  3. id bigserial primary key,
  4. positive boolean,
  5. issue_id int not null references issues (id),
  6. user_id bigint not null,
  7. unique (issue_id, user_id)
  8. );