From 28766b1e932ad09144d9dc4839faacd6946b933f Mon Sep 17 00:00:00 2001 From: Ben Date: Mon, 18 Mar 2019 15:56:01 +0000 Subject: [PATCH] Dance game crumbs data model --- Houdini/Data/Dance.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Houdini/Data/Dance.py diff --git a/Houdini/Data/Dance.py b/Houdini/Data/Dance.py new file mode 100644 index 0000000..539970b --- /dev/null +++ b/Houdini/Data/Dance.py @@ -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"))