ah-sequelize-plugin
Advanced tools
Comparing version 0.7.3 to 0.7.4
@@ -98,3 +98,5 @@ var path = require('path'); | ||
test: function(next){ | ||
api.sequelize.sequelize.query("SELECT NOW()").then(function(){ | ||
var query = "SELECT NOW()"; | ||
if(api.config.sequelize.dialect == 'sqlite') query = "SELECT strftime('%s', 'now');"; | ||
api.sequelize.sequelize.query(query).then(function(){ | ||
next(); | ||
@@ -101,0 +103,0 @@ }).catch(function(err){ |
@@ -5,3 +5,3 @@ { | ||
"description": "I use sequelize in actionhero as an ORM", | ||
"version": "0.7.3", | ||
"version": "0.7.4", | ||
"homepage": "http://actionherojs.com", | ||
@@ -8,0 +8,0 @@ "repository": { |
13227
206