diff options
Diffstat (limited to 'tests/com/iciql/test/models/Product.java')
-rw-r--r-- | tests/com/iciql/test/models/Product.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/com/iciql/test/models/Product.java b/tests/com/iciql/test/models/Product.java index 065e624..35eaa67 100644 --- a/tests/com/iciql/test/models/Product.java +++ b/tests/com/iciql/test/models/Product.java @@ -54,6 +54,7 @@ public class Product implements Iciql { public void defineIQ() {
tableName("Product");
primaryKey(productId);
+ length(productName, 255);
length(category, 255);
index(productName, category);
}
|