fix foreign key name

The table name in the foreign key references for TS_ID was
wrong. MySQL 5.0.x would ignore this, but MySQL 5.5 (RHEL5 update)
rejects the schema.