-
-
Save abhisuri97/62267d77c8d912c9f1f0a323b71a4778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from .. import db | |
# we are going to put something here later | |
class Club(db.Model): | |
__tablename__ = 'clubs' | |
id = db.Column(db.Integer, primary_key=True) | |
name = db.Column(db.String(1000)) | |
description = db.Column(db.Text) | |
is_confirmed = db.Column(db.Boolean) | |
class ClubCategory(db.Model): | |
__tablename__ = 'club_categories' | |
id = db.Column(db.Integer, primary_key=True) | |
category_name = db.Column(db.String(1000)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment