diff options
author | Frédéric Guillot <fred@kanboard.net> | 2014-10-11 21:14:16 -0400 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2014-10-11 21:14:16 -0400 |
commit | deeebd8e72a13fcbe6d357aefed9130671ee5161 (patch) | |
tree | a133e10f4c8aed4e9a4226398e952d39c68a0199 /app/Schema/Sqlite.php | |
parent | acba6839a6082e3e3800a733f8baea7c843fc02e (diff) |
Sqlite: change column type to numeric
Diffstat (limited to 'app/Schema/Sqlite.php')
-rw-r--r-- | app/Schema/Sqlite.php | 4 |
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) |