Dance game crumbs data model

This commit is contained in:
Ben 2019-03-18 15:56:01 +00:00
parent 0b2f4bccea
commit 28766b1e93

10
Houdini/Data/Dance.py Normal file
View File

@ -0,0 +1,10 @@
from Houdini.Data import db
class DanceSong(db.Model):
__tablename__ = 'dance_song'
ID = db.Column(db.Integer, primary_key=True)
Name = db.Column(db.String(30), nullable=False)
SongLength = db.Column(db.Integer, nullable=False, server_default=db.text("100000"))
MillisPerBar = db.Column(db.Integer, nullable=False, server_default=db.text("2000"))