From 6ad98cb8551887b6f29b805e1853d314d55bcf06 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Mon, 12 Jan 2015 17:37:30 -0500 Subject: Fix Postgresql query --- app/Schema/Postgres.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/Schema/Postgres.php b/app/Schema/Postgres.php index 9d5aa7a7..12aa5203 100644 --- a/app/Schema/Postgres.php +++ b/app/Schema/Postgres.php @@ -30,7 +30,7 @@ function version_21($pdo) $rq->execute(); $project_ids = $rq->fetchAll(PDO::FETCH_COLUMN, 0); - $rq = $pdo->prepare('UPDATE project_has_users SET is_owner=1 WHERE project_id=?'); + $rq = $pdo->prepare("UPDATE project_has_users SET is_owner='1' WHERE project_id=?"); foreach ($project_ids as $project_id) { $rq->execute(array($project_id)); -- cgit v1.2.3