Skip to content

Instantly share code, notes, and snippets.

@abhisuri97
Created November 27, 2017 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abhisuri97/4873bddc937859a54c4c5fad5d967936 to your computer and use it in GitHub Desktop.
Save abhisuri97/4873bddc937859a54c4c5fad5d967936 to your computer and use it in GitHub Desktop.
club_category_assoc = db.Table('club_category_association', db.Model.metadata,
db.Column('club_id', db.Integer,
db.ForeignKey('clubs.id')),
db.Column('club_category_id', db.Integer,
db.ForeignKey('club_categories.id')))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment