Commit 2fd29674 authored by Kristian Tan's avatar Kristian Tan

REmoved unneeded parameter for db.Integer

parent 29488aa1
......@@ -23,7 +23,7 @@ db.create_all()
class DailyUsage(db.Model):
id = db.Column(db.Integer, primary_key=True, autoincrement=True)
date = db.Column(db.String(80), unique=True, nullable=False)
hours = db.Column(db.Integer(120), unique=False)
hours = db.Column(db.Integer, unique=False)
def __init__(self, date_, hours_):
self.date = date_
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment