diff --git a/test/postgresql.autoupdate.test.js b/test/postgresql.autoupdate.test.js index 7a0da8ff..2b841833 100644 --- a/test/postgresql.autoupdate.test.js +++ b/test/postgresql.autoupdate.test.js @@ -363,6 +363,9 @@ describe('autoupdate', function() { }); describe('foreign key constraint', function() { + before(function(done) { + ds.adapter.dropTable(['Product', 'CustomerTest2', 'CustomerTest3'], done); + }); it('should create, update, and delete foreign keys', function(done) { const product_schema = { 'name': 'Product',