Skip to content

Commit dff22be

Browse files
committed
Fix the migration
1 parent 03a06f0 commit dff22be

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

priv/repo/migrations/20171106050209_add_pull_requests_to_task_list.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ defmodule CodeCorps.Repo.Migrations.AddPullRequestsToTaskList do
3535
from(
3636
t in "tasks",
3737
where: [project_id: ^project_id],
38+
where: t.status != "closed",
3839
where: not is_nil(t.github_issue_id),
3940
inner_join:
4041
gi in "github_issues",

priv/repo/structure.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
-- PostgreSQL database dump
33
--
44

5-
-- Dumped from database version 10.0
5+
-- Dumped from database version 9.5.9
66
-- Dumped by pg_dump version 10.0
77

88
SET statement_timeout = 0;

0 commit comments

Comments
 (0)