我有一些相关的表格:user,payment_method,invoice,transaction。发票(金额)发票拥有以下内容:实现上述目标的关系表是user_invoice、user_payment_method、invoice_deposit和invoice_withdrawal。CREATE TABLE IF NOT EXISTS user (
我是数据库设计的新手,可以使用一些关于如何为学习项目设置模式的建议。这个想法就像Zork这样的基于文本的冒险游戏。class Room(db.Model): title = db.Column(db.String(64), index=True)
north = db.Column(db.Integer, db.ForeignKey('room.id'