#21: Oops! Forgot the organisers

Also tidied up the 'add-user-table' migration, which was actually just part of the how-to-get-started-with-migratus stuff and we don't need.
This commit is contained in:
simon 2017-03-15 20:15:49 +00:00
parent d83a7924e2
commit 0db6a2b918
4 changed files with 6 additions and 10 deletions

View file

@ -25,6 +25,10 @@ create table if not exists teammemberships (
canvasser_id integer not null references canvassers(id)
);
create table if not exists teamorganiserships (
team_id integer not null references teams(id),
canvasser_id integer not null references canvassers(id)
);
alter table roles owner to youyesyet;