aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/iciql/DbVersion.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2016-04-05 12:27:55 -0400
committerJames Moger <james.moger@gitblit.com>2016-04-05 12:27:55 -0400
commitbb87e621eefd97872aa1a619d38c166b2f07db84 (patch)
treed7199be13f0015e218ae2ded4ebd8af11b955845 /src/main/java/com/iciql/DbVersion.java
parent98bb5dc01796728de5b18f84e19766276d12d1db (diff)
downloadiciql-bb87e621eefd97872aa1a619d38c166b2f07db84.tar.gz
iciql-bb87e621eefd97872aa1a619d38c166b2f07db84.zip
Reformat project with default IntelliJ settings
Diffstat (limited to 'src/main/java/com/iciql/DbVersion.java')
-rw-r--r--src/main/java/com/iciql/DbVersion.java51
1 files changed, 25 insertions, 26 deletions
diff --git a/src/main/java/com/iciql/DbVersion.java b/src/main/java/com/iciql/DbVersion.java
index 6270e14..26f1dd7 100644
--- a/src/main/java/com/iciql/DbVersion.java
+++ b/src/main/java/com/iciql/DbVersion.java
@@ -23,33 +23,32 @@ import com.iciql.Iciql.IQTable;
/**
* A system table to track database and table versions.
*/
-@IQTable(name = "iq_versions", primaryKey = { "schemaName", "tableName" }, memoryTable = true)
+@IQTable(name = "iq_versions", primaryKey = {"schemaName", "tableName"}, memoryTable = true)
public class DbVersion {
- @IQColumn(length = 255)
- String schemaName = "";
-
- @IQColumn(length = 255)
- String tableName = "";
-
- @IQColumn
- Integer version;
-
- public DbVersion() {
- // nothing to do
- }
-
- /**
- * Constructor for defining a version entry. Both the schema and the table
- * are empty strings, which means this is the row for the 'database'.
- *
- * @param version
- * the database version
- */
- public DbVersion(int version) {
- this.schemaName = "";
- this.tableName = "";
- this.version = version;
- }
+ @IQColumn(length = 255)
+ String schemaName = "";
+
+ @IQColumn(length = 255)
+ String tableName = "";
+
+ @IQColumn
+ Integer version;
+
+ public DbVersion() {
+ // nothing to do
+ }
+
+ /**
+ * Constructor for defining a version entry. Both the schema and the table
+ * are empty strings, which means this is the row for the 'database'.
+ *
+ * @param version the database version
+ */
+ public DbVersion(int version) {
+ this.schemaName = "";
+ this.tableName = "";
+ this.version = version;
+ }
}