mirror of
https://github.com/solero/houdini.git
synced 2024-11-25 06:57:24 +00:00
Add default inventory boolean field to every inventory entity
This commit is contained in:
parent
c171c75cb3
commit
922e817e8d
13685
houdini.sql
13685
houdini.sql
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,8 @@ class Flooring(db.Model):
|
|||||||
name = db.Column(db.String(50))
|
name = db.Column(db.String(50))
|
||||||
cost = db.Column(db.Integer, nullable=False, server_default=db.text("0"))
|
cost = db.Column(db.Integer, nullable=False, server_default=db.text("0"))
|
||||||
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
legacy_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
vanilla_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
|
||||||
|
|
||||||
class Furniture(db.Model):
|
class Furniture(db.Model):
|
||||||
@ -20,6 +22,8 @@ class Furniture(db.Model):
|
|||||||
cost = db.Column(db.Integer, nullable=False, server_default=db.text("0"))
|
cost = db.Column(db.Integer, nullable=False, server_default=db.text("0"))
|
||||||
member = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
member = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
legacy_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
vanilla_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
bait = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
bait = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
max_quantity = db.Column(db.SmallInteger, nullable=False, server_default=db.text("100"))
|
max_quantity = db.Column(db.SmallInteger, nullable=False, server_default=db.text("100"))
|
||||||
|
|
||||||
@ -31,6 +35,8 @@ class Igloo(db.Model):
|
|||||||
name = db.Column(db.String(50), nullable=False)
|
name = db.Column(db.String(50), nullable=False)
|
||||||
cost = db.Column(db.SmallInteger, nullable=False, server_default=db.text("0"))
|
cost = db.Column(db.SmallInteger, nullable=False, server_default=db.text("0"))
|
||||||
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
legacy_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
vanilla_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
|
||||||
|
|
||||||
class IglooFurniture(db.Model):
|
class IglooFurniture(db.Model):
|
||||||
@ -64,6 +70,8 @@ class Location(db.Model):
|
|||||||
name = db.Column(db.String(50), nullable=False)
|
name = db.Column(db.String(50), nullable=False)
|
||||||
cost = db.Column(db.Integer, nullable=False, server_default=db.text("0"))
|
cost = db.Column(db.Integer, nullable=False, server_default=db.text("0"))
|
||||||
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
legacy_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
vanilla_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
|
||||||
|
|
||||||
class PenguinIgloo(db.Model):
|
class PenguinIgloo(db.Model):
|
||||||
|
@ -11,6 +11,8 @@ class Item(db.Model):
|
|||||||
member = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
member = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
bait = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
bait = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
patched = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
legacy_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
|
vanilla_inventory = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
epf = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
epf = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
tour = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
tour = db.Column(db.Boolean, nullable=False, server_default=db.text("false"))
|
||||||
release_date = db.Column(db.Date, nullable=False, server_default=db.text("now()"))
|
release_date = db.Column(db.Date, nullable=False, server_default=db.text("now()"))
|
||||||
|
Loading…
Reference in New Issue
Block a user