Simple init of db. Don't need migrations.

This commit is contained in:
Matthew Dillon 2015-06-22 13:53:55 -08:00
parent 0826f45b49
commit 871a2f97b3
4 changed files with 5 additions and 2 deletions

View file

@ -16,7 +16,7 @@ class Community(db.Model):
class Dataset(db.Model):
__tablename__ = 'datasets'
id = db.Column(db.Integer, primary_key=True
id = db.Column(db.Integer, primary_key=True)
datatype = db.Column(db.String(15), nullable=False)
model = db.Column(db.String(15), nullable=False)
modelname = db.Column(db.String(50), nullable=False)