Update query-generator.js

Added DROP INDEX **IF EXISTS**
Merge pull request #776 from coderbuzz/patch-2

Update query-generator.js