diff --git a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java index eda0029..f2091c3 100644 --- a/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java +++ b/src/java/com/samskivert/jdbc/depot/DepotMarshaller.java @@ -217,7 +217,7 @@ public class DepotMarshaller if (entity != null) { for (Index index : entity.indices()) { // TODO: delegate this to a database specific SQL generator - _declarations.add(index.type() + "index " + index.name() + + _declarations.add(index.type() + " index " + index.name() + " (" + StringUtil.join(index.columns(), ", ") + ")"); } }