# hubPublic.sql was originally generated by the autoSql program, which also 
# generated hubPublic.c and hubPublic.h.  This creates the database representation of
# an object which can be loaded and saved from RAM in a fairly 
# automatic way.

#Table of public track data hub connections.
CREATE TABLE hubPublic (
    hubUrl longblob not null,	# URL to hub.ra file
    shortLabel varchar(255) not null,	# Hub short label.
    longLabel varchar(255) not null,	# Hub long label.
    registrationTime varchar(255) not null,	# Time first registered
    dbCount int unsigned not null,	# Number of databases hub has data for.
    dbList varchar(255) not null,	# Comma separated list of databases.
    descriptionUrl longblob not null,	# URL to description HTML
              #Indices
    PRIMARY KEY(hubUrl)
);
