不要怂,就是干,撸起袖子干!

Commit 32474460 by Dr. Evil

Enable btree_gist extension before running tests

1 parent 9612da15
Showing with 9 additions and 0 deletions
......@@ -10,6 +10,15 @@ before(function() {
return Support.sequelize.query('CREATE EXTENSION IF NOT EXISTS hstore', null, {raw: true});
});
before(function() {
var dialect = Support.getTestDialect();
if (dialect !== 'postgres' && dialect !== 'postgres-native') {
return;
}
return Support.sequelize.query('CREATE EXTENSION IF NOT EXISTS btree_gist', null, {raw: true});
});
beforeEach(function() {
return Support.clearDatabase(this.sequelize);
});
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!