diff --git a/src/main/java/com/github/susom/database/Schema.java b/src/main/java/com/github/susom/database/Schema.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/github/susom/database/Schema.java
+++ b/src/main/java/com/github/susom/database/Schema.java
@@ -844,7 +844,11 @@ public class Schema {
     for (Table table : tables) {
       for (Index index : table.indexes) {
         Sql sql = new Sql();
-        sql.append("create index ");
+        sql.append("create ");
+        if (index.unique) {
+          sql.append("unique ");
+        }
+        sql.append("index ");
         sql.append(index.name);
         sql.append(" on ");
         sql.append(table.name);
Actually create unique indexes when Index.unique() is called