1
0
Fork 0

Don't check memberships in stat queries

This commit is contained in:
Gregory Eremin 2015-03-18 01:56:41 +07:00
parent c5f6a2c004
commit 5f9a763078
1 changed files with 0 additions and 6 deletions

View File

@ -29,7 +29,6 @@ join members m on
join teams t on join teams t on
m.team_id = t.id m.team_id = t.id
where where
m.id is not null and
c.owner = :org and c.owner = :org and
c.week >= :from and c.week >= :from and
c.week <= :to c.week <= :to
@ -49,7 +48,6 @@ join members m on
join teams t on join teams t on
m.team_id = t.id m.team_id = t.id
where where
m.id is not null and
c.owner = :org and c.owner = :org and
c.week >= :from and c.week >= :from and
c.week <= :to c.week <= :to
@ -69,7 +67,6 @@ join teams t on
m.team_id = t.id and m.team_id = t.id and
t.name = :team t.name = :team
where where
m.id is not null and
c.owner = :org and c.owner = :org and
c.week >= :from and c.week >= :from and
c.week <= :to c.week <= :to
@ -90,7 +87,6 @@ join teams t on
m.team_id = t.id and m.team_id = t.id and
t.name = :team t.name = :team
where where
m.id is not null and
c.owner = :org and c.owner = :org and
c.week >= :from and c.week >= :from and
c.week <= :to c.week <= :to
@ -138,7 +134,6 @@ join members m on
join teams t on join teams t on
m.team_id = t.id m.team_id = t.id
where where
m.id is not null and
c.owner = :org and c.owner = :org and
c.repo = :repo and c.repo = :repo and
c.week >= :from and c.week >= :from and
@ -159,7 +154,6 @@ join members m on
join teams t on join teams t on
m.team_id = t.id m.team_id = t.id
where where
m.id is not null and
c.owner = :org and c.owner = :org and
c.repo = :repo and c.repo = :repo and
c.week >= :from and c.week >= :from and