From 4f9917bda887c95fdab0f93bc3ffb2a4108018d4 Mon Sep 17 00:00:00 2001 From: Shridhar Date: Wed, 7 Feb 2018 12:13:18 +0530 Subject: [PATCH] Mysql Mappings --- backends/mysql.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/mysql.js b/backends/mysql.js index 3b1af40e..8e72400a 100644 --- a/backends/mysql.js +++ b/backends/mysql.js @@ -333,8 +333,8 @@ class mysqlDatabse{ init_type_map() { this.type_map = { 'Currency': 'real' - , 'Int': 'integer' - , 'Float': 'real' + , 'Int': 'INT' + , 'Float': 'decimal(18,6)' , 'Percent': 'real' , 'Check': 'integer' , 'Small Text': 'text'