Skip to content
Snippets Groups Projects
Verified Commit 71513ce1 authored by Vasanth Viswanath S's avatar Vasanth Viswanath S Committed by Sachin Kamath
Browse files

Add hints column in challenge model

parent ccf06750
Branches
No related tags found
No related merge requests found
......@@ -7,11 +7,12 @@ from sqlalchemy import inspect
class Challenges(db.Model):
__tablename__= 'challenges'
#Data variables for each Challenges
chalid=db.Column(db.String(32), primary_key=True,unique=True,nullable=False)
#Data variables for each challenge
chall_id=db.Column(db.String(32), primary_key=True,unique=True,nullable=False)
name = db.Column(db.String(32), nullable=False)
points = db.Column(db.Integer, nullable=False)
description = db.Column(db.String(2048), nullable=False)
hints=db.Column(db.String(512), nullable=False)
@staticmethod
def save(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment