aboutsummaryrefslogtreecommitdiffstats
path: root/docs/02_table_versioning.mkd
diff options
context:
space:
mode:
Diffstat (limited to 'docs/02_table_versioning.mkd')
-rw-r--r--docs/02_table_versioning.mkd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/02_table_versioning.mkd b/docs/02_table_versioning.mkd
index 4650f74..12cdf6c 100644
--- a/docs/02_table_versioning.mkd
+++ b/docs/02_table_versioning.mkd
@@ -10,7 +10,7 @@ Your `com.iciql.DbUpgrader` implementation must specify the `IQVersion(version)`
### How does it work?
If you choose to use versioning, iciql will maintain a table within your database named *_iq_versions* which is defined as:
- CREATE TABLE _IQ_VERSIONS(SCHEMANAME TEXT NOT NULL, TABLENAME TEXT NOT NULL, VERSION INT NOT NULL)
+ CREATE TABLE _IQ_VERSIONS(SCHEMANAME VARCHAR(255) NOT NULL, TABLENAME VARCHAR(255) NOT NULL, VERSION INT NOT NULL)
This database table is automatically created if and only if at least one of your model classes specifies a *version* > 0.