Opened 11 years ago
Closed 11 years ago
#891 closed defect (cant-reproduce)
Two primary keys on NonceTimestamp
Reported by: | Christopher Allan Webber | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | programming | Keywords: | |
Cc: | tsyesika | Parent Tickets: |
Description
Not sure what's going on here:
class NonceTimestamp(Base): """ A place the timestamp and nonce can be stored - this is for OAuth1 """ __tablename__ = "core__nonce_timestamps" nonce = Column(Unicode, nullable=False, primary_key=True) timestamp = Column(DateTime, nullable=False, primary_key=True)
but by definition they can't both be primary keys.
Note:
See TracTickets
for help on using tickets.
Oh, it might be a composite primary key. Never mind.