diff --git a/lib/statement-generators/index-gen/index.js b/lib/statement-generators/index-gen/index.js
index <HASH>..<HASH> 100644
--- a/lib/statement-generators/index-gen/index.js
+++ b/lib/statement-generators/index-gen/index.js
@@ -18,7 +18,12 @@ module.exports = function indexStatementGenerator (indexId, index, statements) {
     method: index.target.method || 'btree'
   }
 
+  if (!ctx.columns.join()) {
+    return
+  }
+
   if (_.isUndefined(index.base)) {
+    console.log('!!!!', template(ctx))
     statements.push(
       template(ctx)
     )
Sometimes tries to create indexes which have no columns, which obviously fails.
Haven't tracked down cause - it's something in the pgInfo/relationize/pgDiffSync stack.