Improve XML parsing to handle attributes as well.
[cfb.git] / prod / net / jaekl / cfb / db / CfbSchema.java
index b298f5768c9f1f9cad6ac460c4bc69d9d1f78f21..d2333fab8f932d3fc6bdb11605dd72915497c8b6 100644 (file)
@@ -1,5 +1,7 @@
 package net.jaekl.cfb.db;
 
+// Copyright (C) 2015 Christian Jaekl
+
 import static net.jaekl.cfb.db.Column.Null.*;
 import static net.jaekl.cfb.db.Column.Type.*;
 import net.jaekl.cfb.db.driver.DbDriver;
@@ -45,11 +47,11 @@ public class CfbSchema extends Schema {
                },
                {
                        // Runs of FindBugs, normally one per build version
-                       { "RUNS " },
+                       { "RUNS" },
                        { "RUNID", INTEGER, -1, NOT_NULL },
                        { "VERSION", VARCHAR, 32, NULL },
-                       { "START", TIMESTAMPTZ, -1, NOT_NULL },
-                       { "END", TIMESTAMPTZ, -1, NOT_NULL }
+                       { "STARTTIME", TIMESTAMPTZ, -1, NOT_NULL },
+                       { "ENDTIME", TIMESTAMPTZ, -1, NOT_NULL }
                }
        };