class SavedRiddles(db.Table): id = db.PrimaryKeyColumn() userid = db.Column(db.Integer(big=True)) riddle_number = db.Column(db.Integer) question = db.Column(db.String) answer = db.Column(db.String)
class SavedJokes(db.Table): id = db.PrimaryKeyColumn() category = db.Column(db.String) title = db.Column(db.String) body = db.Column(db.String) joke_id = db.Column(db.Integer) score = db.Column(db.Integer)
class Commands(db.Table): id = db.PrimaryKeyColumn() guild_id = db.Column(db.Integer(big=True)) channel_id = db.Column(db.Integer(big=True)) author_id = db.Column(db.Integer(big=True)) timestamp = db.Column(db.Datetime()) prefix = db.Column(db.String()) command = db.Column(db.String())
class Commands(db.Table): id = db.PrimaryKeyColumn() guild_id = db.Column(db.Integer(big=True), index=True) channel_id = db.Column(db.Integer(big=True)) author_id = db.Column(db.Integer(big=True), index=True) used = db.Column(db.Datetime) prefix = db.Column(db.String) command = db.Column(db.String, index=True)
class ClashTrivia(db.Table, table_name='clash_trivia'): id = db.PrimaryKeyColumn() category = db.Column(db.String) question = db.Column(db.String) answers = db.Column(db.String) correct = db.Column(db.String) explanation = db.Column(db.String) icon_url = db.Column(db.String)
class TriviaQuestions(db.Table, table_name='trivia'): id = db.PrimaryKeyColumn() category = db.Column(db.String) difficulty = db.Column(db.String) question = db.Column(db.String) answers = db.Column(db.String) correct = db.Column(db.String) used = db.Column(db.Integer, default=0)
class Ignores(db.Table): id = db.PrimaryKeyColumn() guild_id = db.Column(db.Integer(big=True)) channel_id = db.Column(db.Integer(big=True)) role_id = db.Column(db.Integer(big=True)) user_id = db.Column(db.Integer(big=True)) command_name = db.Column(db.String) ignored_guild = db.Column(db.Boolean()) ignored_channel = db.Column(db.Boolean()) ignored_role = db.Column(db.Boolean()) local_ignored_command = db.Column(db.Boolean()) global_ignored_command = db.Column(db.Boolean()) local_ignored_user = db.Column(db.Boolean()) global_ignored_user = db.Column(db.Boolean())
class AllJokes(db.Table, table_name='jokes'): id = db.PrimaryKeyColumn() category = db.Column(db.String) title = db.Column(db.String) body = db.Column(db.String)
class Riddles(db.Table): id = db.PrimaryKeyColumn() riddle = db.Column(db.String) answer = db.Column(db.String) used = db.Column(db.Integer, default=0)
class DadJokes(db.Table): id = db.PrimaryKeyColumn() joke = db.Column(db.String())
class Prefix(db.Table): id = db.PrimaryKeyColumn() guild_id = db.Column(db.Integer(big=True)) prefix = db.Column(db.String())