summaryrefslogtreecommitdiff
path: root/app/Schema/Sqlite.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-10-11 21:14:16 -0400
committerFrédéric Guillot <fred@kanboard.net>2014-10-11 21:14:16 -0400
commitdeeebd8e72a13fcbe6d357aefed9130671ee5161 (patch)
treea133e10f4c8aed4e9a4226398e952d39c68a0199 /app/Schema/Sqlite.php
parentacba6839a6082e3e3800a733f8baea7c843fc02e (diff)
Sqlite: change column type to numeric
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r--app/Schema/Sqlite.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Schema/Sqlite.php b/app/Schema/Sqlite.php
index 45a6fb22..f290c824 100644
--- a/app/Schema/Sqlite.php
+++ b/app/Schema/Sqlite.php
@@ -10,8 +10,8 @@ const VERSION = 32;
function version_32($pdo)
{
$pdo->exec("ALTER TABLE tasks ADD COLUMN date_started INTEGER");
- $pdo->exec("ALTER TABLE tasks ADD COLUMN time_spent FLOAT DEFAULT 0");
- $pdo->exec("ALTER TABLE tasks ADD COLUMN time_estimated FLOAT DEFAULT 0");
+ $pdo->exec("ALTER TABLE tasks ADD COLUMN time_spent NUMERIC DEFAULT 0");
+ $pdo->exec("ALTER TABLE tasks ADD COLUMN time_estimated NUMERIC DEFAULT 0");
}
function version_31($pdo)