diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-12 17:37:30 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-12 17:37:30 -0500 |
commit | 6ad98cb8551887b6f29b805e1853d314d55bcf06 (patch) | |
tree | 109378c8fddd174c91f439fad2193b5b40c2eed3 | |
parent | c5e4c781f5cbda416e0077e88fe75bf5b785f659 (diff) |
Fix Postgresql query
-rw-r--r-- | app/Schema/Postgres.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |