5ea72e59393fe62ab71be06204222a3648a94c49
kent
  Tue Dec 7 13:28:01 2010 -0800
Making hubConnect.as and hubConnect.sql.  This is _not_ done by autoSql since we just want field-by-field access of this in the code.
diff --git src/hg/lib/hubConnect.sql src/hg/lib/hubConnect.sql
new file mode 100644
index 0000000..ee35d25
--- /dev/null
+++ src/hg/lib/hubConnect.sql
@@ -0,0 +1,20 @@
+# foo.sql was originally generated by the autoSql program, which also 
+# generated foo.c and foo.h.  This creates the database representation of
+# an object which can be loaded and saved from RAM in a fairly 
+# automatic way.
+
+#Table of track data hub connections.
+CREATE TABLE hubConnect (
+    id int unsigned not null auto_increment,	# auto-increment item ID
+    shortLabel varchar(255) not null,	# Hub short label.
+    longLabel varchar(255) not null,	# Hub long label.
+    hubUrl longblob not null,	# URL to hub.ra file
+    registrationTime datetime not null,	# Time first registered
+    lastOkTime datetime,	# Time when hub last was ok
+    lastNotOkTime datetime,	# Time when hub last was not ok
+    errorMessage longblob,	# If non-empty contains last error message from hub. If empty hub is ok.
+              #Indices
+    PRIMARY KEY(id),
+    INDEX(hubUrl(32))
+    
+);