CREATE UNIQUE INDEX "IndexName" ON "Table" ("foo", COALESCE ("bar", ''));
uniqueIndex("IndexName").on(table.foo, sql`COALESCE(${table.bar}, '')`)
CREATE UNIQUE INDEX `IndexName` ON `Table` (`foo`,`COALESCE("bar"`,` '')`);