mirror of
https://github.com/solero/houdini.git
synced 2024-11-22 05:27:23 +00:00
Dance game crumbs data model
This commit is contained in:
parent
0b2f4bccea
commit
28766b1e93
10
Houdini/Data/Dance.py
Normal file
10
Houdini/Data/Dance.py
Normal 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"))
|
Loading…
Reference in New Issue
Block a user