summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-08 21:49:25 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-08 21:49:25 -0400
commita8418afdebe92dde495bc5010645779c73939b7b (patch)
treeda2928fbd0dda33b43b94fadd8fd8f89e297429f /app
parent0d4e12d6e5992749c31cc36036c12d600046f828 (diff)
Add Mysql escaping
Diffstat (limited to 'app')
-rw-r--r--app/Schema/Mysql.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Schema/Mysql.php b/app/Schema/Mysql.php
index ab618635..c7293a43 100644
--- a/app/Schema/Mysql.php
+++ b/app/Schema/Mysql.php
@@ -22,8 +22,8 @@ function version_29($pdo)
{
$pdo->exec("
CREATE TABLE settings (
- option VARCHAR(100) PRIMARY KEY,
- value VARCHAR(255) DEFAULT ''
+ `option` VARCHAR(100) PRIMARY KEY,
+ `value` VARCHAR(255) DEFAULT ''
)
");