Skip to content

Instantly share code, notes, and snippets.

@kotfic
Created August 16, 2013 15:48
Show Gist options
  • Save kotfic/6251048 to your computer and use it in GitHub Desktop.
Save kotfic/6251048 to your computer and use it in GitHub Desktop.
class Petition_Response(Base):
__tablename__ = 'wtp_data_petition_responses'
petition_id = Column(String(64), primary_key=True),
response_id = Column(String(64)),
association_time = Column( Integer(11))
response = relationship("Response", backref=backref('association'))
petition = relationship("Petition", backref=backref('association'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment