Add id as an AutoNumber(primary_key=True) field and remove the pk from
authorDiane Trout <diane@caltech.edu>
Fri, 23 Jan 2009 02:21:09 +0000 (02:21 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 23 Jan 2009 02:21:09 +0000 (02:21 +0000)
commit8ce9a653d84ff1f24ecd4950479ba01da64125e6
treec3cf86bda7a4965dbbd639c14253e3a145de454a
parente07f9c1a2346fdda876a639f1a2f196c6577190c
Add id as an AutoNumber(primary_key=True) field and remove the pk from
library_id.

Stanford decided to use library_id as a text field so they could use
library IDs like "SL100". Caltech just used the raw sql id, so the
foreign key reference in experiments_flowcells was expecting a numeric
id, but since the model had the text field as the primary key things
didn't work.
htsworkflow/frontend/samples/models.py