mirror of
https://github.com/DarkflameUniverse/NexusDashboard.git
synced 2025-01-08 13:47:00 +00:00
progress
This commit is contained in:
parent
1b4887f73e
commit
f8332dc065
199
app/cdclient.py
199
app/cdclient.py
@ -167,6 +167,7 @@ class Activities(db.Model):
|
|||||||
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -239,8 +240,7 @@ class ActivityText(db.Model):
|
|||||||
backref="ActivityText"
|
backref="ActivityText"
|
||||||
)
|
)
|
||||||
|
|
||||||
type_column = db.Column(
|
type = db.Column(
|
||||||
"type",
|
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
@ -258,6 +258,7 @@ class ActivityText(db.Model):
|
|||||||
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1200,9 +1201,9 @@ class CelebrationParameters(db.Model):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
# LOT
|
|
||||||
backgroundObject = db.Column(
|
backgroundObject = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id)
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1221,11 +1222,14 @@ class CelebrationParameters(db.Model):
|
|||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
iconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
|
|
||||||
celeLeadIn = db.Column(
|
celeLeadIn = db.Column(
|
||||||
sqlite.FLOAT(),
|
sqlite.FLOAT(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -1374,9 +1378,9 @@ class CollectibleComponent(db.Model):
|
|||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# mission
|
|
||||||
requirement_mission = db.Column(
|
requirement_mission = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Missions.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1385,16 +1389,17 @@ class ComponentsRegistry(db.Model):
|
|||||||
__tablename__ = 'ComponentsRegistry'
|
__tablename__ = 'ComponentsRegistry'
|
||||||
__bind_key__ = 'cdclient'
|
__bind_key__ = 'cdclient'
|
||||||
|
|
||||||
# LOT
|
|
||||||
id = db.Column(
|
id = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id)
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
component_type = db.Column(
|
component_type = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False,
|
||||||
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
component_id = db.Column(
|
component_id = db.Column(
|
||||||
@ -1543,12 +1548,12 @@ class CurrencyDenominations(db.Model):
|
|||||||
value = db.Column(
|
value = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
# LOT
|
|
||||||
objectid = db.Column(
|
objectid = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id)
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1639,6 +1644,7 @@ class DeletionRestrictions(db.Model):
|
|||||||
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -1653,13 +1659,13 @@ class DestructibleComponent(db.Model):
|
|||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# faction
|
|
||||||
faction = db.Column(
|
faction = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Factions.faction)
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# faction
|
# CSV of factions?
|
||||||
factionList = db.Column(
|
factionList = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -1785,6 +1791,7 @@ class Emotes(db.Model):
|
|||||||
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2326,34 +2333,39 @@ class ItemSets(db.Model):
|
|||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# Icons
|
|
||||||
kitImage = db.Column(
|
kitImage = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Icons.IconID)
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ItemSetSkills
|
|
||||||
skillSetWith2 = db.Column(
|
skillSetWith2 = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(ItemSetSkills.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ItemSetSkills
|
|
||||||
skillSetWith3 = db.Column(
|
skillSetWith3 = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(ItemSetSkills.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ItemSetSkills
|
|
||||||
skillSetWith4 = db.Column(
|
skillSetWith4 = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(ItemSetSkills.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ItemSetSkills
|
|
||||||
skillSetWith5 = db.Column(
|
skillSetWith5 = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(ItemSetSkills.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ItemSetSkills
|
|
||||||
skillSetWith6 = db.Column(
|
skillSetWith6 = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(ItemSetSkills.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2361,9 +2373,10 @@ class ItemSets(db.Model):
|
|||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# gate_version
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ???
|
# ???
|
||||||
@ -2371,7 +2384,7 @@ class ItemSets(db.Model):
|
|||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# ???
|
|
||||||
priority = db.Column(
|
priority = db.Column(
|
||||||
sqlite.FLOAT(),
|
sqlite.FLOAT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
@ -2402,14 +2415,16 @@ class JetPackPadComponent(db.Model):
|
|||||||
sqlite.FLOAT(),
|
sqlite.FLOAT(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# LOT
|
|
||||||
lotBlocker = db.Column(
|
lotBlocker = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# LOT
|
|
||||||
lotWarningVolume = db.Column(
|
lotWarningVolume = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2458,10 +2473,10 @@ class LUPExhibitComponent(db.Model):
|
|||||||
class LUPExhibitModelData(db.Model):
|
class LUPExhibitModelData(db.Model):
|
||||||
__tablename__ = 'LUPExhibitModelData'
|
__tablename__ = 'LUPExhibitModelData'
|
||||||
__bind_key__ = 'cdclient'
|
__bind_key__ = 'cdclient'
|
||||||
# LOT
|
|
||||||
|
|
||||||
LOT = db.Column(
|
LOT = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
@ -2496,9 +2511,9 @@ class LUPZoneIDs(db.Model):
|
|||||||
__tablename__ = 'LUPZoneIDs'
|
__tablename__ = 'LUPZoneIDs'
|
||||||
__bind_key__ = 'cdclient'
|
__bind_key__ = 'cdclient'
|
||||||
|
|
||||||
# ZoneTable
|
|
||||||
zoneID = db.Column(
|
zoneID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(ZoneTabe.zoneID)
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
@ -2535,7 +2550,7 @@ class LevelProgressionLookup(db.Model):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
# BehaviorEffect
|
# BehaviorEffect ?
|
||||||
BehaviorEffect = db.Column(
|
BehaviorEffect = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
@ -2551,13 +2566,13 @@ class LootMatrix(db.Model):
|
|||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
# FK
|
||||||
LootTableIndex = db.Column(
|
LootTableIndex = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
# FK
|
||||||
RarityTableIndex = db.Column(
|
RarityTableIndex = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
@ -2591,6 +2606,7 @@ class LootMatrix(db.Model):
|
|||||||
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2670,14 +2686,15 @@ class MinifigComponent(db.Model):
|
|||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK ?
|
|
||||||
chest = db.Column(
|
chest = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK ?
|
|
||||||
legs = db.Column(
|
legs = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(MinifigDecals_Legs.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2693,6 +2710,7 @@ class MinifigComponent(db.Model):
|
|||||||
|
|
||||||
chestdecal = db.Column(
|
chestdecal = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(MinifigDecals_Torsos.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2710,19 +2728,22 @@ class MinifigComponent(db.Model):
|
|||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
eyebrowstyle = db.Column(
|
eyebrowstyle = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(MinifigDecals_Eyebrows.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
eyesstyle = db.Column(
|
eyesstyle = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(MinifigDecals_Eyes.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
mouthstyle = db.Column(
|
mouthstyle = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(MinifigDecals_Mouths.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2902,17 +2923,22 @@ class MissionEmail(db.Model):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
# FK
|
|
||||||
missionID = db.Column(
|
missionID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Missions.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# LOT
|
|
||||||
|
mission = db.relationship("Missions")
|
||||||
|
|
||||||
attachmentLOT = db.Column(
|
attachmentLOT = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Objects.id),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
attachment = db.relationship("Objects")
|
||||||
|
|
||||||
localize = db.Column(
|
localize = db.Column(
|
||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -2923,9 +2949,9 @@ class MissionEmail(db.Model):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
# gate FK
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2940,9 +2966,9 @@ class MissionNPCComponent(db.Model):
|
|||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
# FK
|
|
||||||
missionID = db.Column(
|
missionID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Missions.id),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2955,9 +2981,10 @@ class MissionNPCComponent(db.Model):
|
|||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -2986,7 +3013,7 @@ class MissionTasks(db.Model):
|
|||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
# CSV of ?
|
||||||
targetGroup = db.Column(
|
targetGroup = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
@ -3006,12 +3033,15 @@ class MissionTasks(db.Model):
|
|||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
IconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Icons.IconID),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
|
|
||||||
uid = db.Column(
|
uid = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -3026,9 +3056,10 @@ class MissionTasks(db.Model):
|
|||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -3057,12 +3088,15 @@ class MissionText(db.Model):
|
|||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
IconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
|
|
||||||
state_1_anim = db.Column(
|
state_1_anim = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
@ -3182,12 +3216,15 @@ class MissionText(db.Model):
|
|||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
turnInIconID = db.Column(
|
turnInIconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
turnInIcon = db.relationship("Icons")
|
||||||
|
|
||||||
localize = db.Column(
|
localize = db.Column(
|
||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -3200,6 +3237,7 @@ class MissionText(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -3408,11 +3446,14 @@ class Missions(db.Model):
|
|||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
missionIconID = db.Column(
|
missionIconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
missionIcon = db.relationship("Icons")
|
||||||
# FK
|
# FK
|
||||||
prereqMissionID = db.Column(
|
prereqMissionID = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
@ -3451,6 +3492,7 @@ class Missions(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -3832,8 +3874,7 @@ class ObjectBehaviorXREF(db.Model):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
type_column = db.Column(
|
type = db.Column(
|
||||||
"type",
|
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
@ -3948,6 +3989,7 @@ class Objects(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -4236,6 +4278,7 @@ class PlayerStatistics(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -4331,8 +4374,7 @@ class Preconditions(db.Model):
|
|||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
type_column = db.Column(
|
type = db.Column(
|
||||||
"type",
|
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
@ -4351,12 +4393,15 @@ class Preconditions(db.Model):
|
|||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
iconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
|
|
||||||
localize = db.Column(
|
localize = db.Column(
|
||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -4374,6 +4419,7 @@ class Preconditions(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -4434,8 +4480,7 @@ class PropertyTemplate(db.Model):
|
|||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
type_column = db.Column(
|
type = db.Column(
|
||||||
"type",
|
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
@ -4512,6 +4557,7 @@ class PropertyTemplate(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -4571,12 +4617,15 @@ class ProximityTypes(db.Model):
|
|||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
IconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Icons.IconID),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
|
|
||||||
LoadOnClient = db.Column(
|
LoadOnClient = db.Column(
|
||||||
sqlite.BOOLEAN(),
|
sqlite.BOOLEAN(),
|
||||||
nullable=False
|
nullable=False
|
||||||
@ -4909,11 +4958,14 @@ class RenderComponent(db.Model):
|
|||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
IconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
# FK mapshaders
|
# FK mapshaders
|
||||||
shader_id = db.Column(
|
shader_id = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
@ -5163,6 +5215,7 @@ class RewardCodes(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -5404,6 +5457,7 @@ class SkillBehavior(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -5562,6 +5616,7 @@ class SpeedchatMenu(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -5895,6 +5950,7 @@ class UGBehaviorSounds(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -6499,6 +6555,7 @@ class WhatsCoolItemSpotlight(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -6517,14 +6574,16 @@ class WhatsCoolNewsAndTips(db.Model):
|
|||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
iconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=True
|
db.ForeignKey(Icons.IconID),
|
||||||
|
nullable=False
|
||||||
)
|
)
|
||||||
|
|
||||||
type_column = db.Column(
|
Icon = db.relationship("Icons")
|
||||||
"type",
|
|
||||||
|
type = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
)
|
)
|
||||||
@ -6536,6 +6595,7 @@ class WhatsCoolNewsAndTips(db.Model):
|
|||||||
# FK
|
# FK
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -6892,8 +6952,7 @@ class ZoneSummary(db.Model):
|
|||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
type_column = db.Column(
|
type = db.Column(
|
||||||
"type",
|
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
@ -7039,9 +7098,10 @@ class ZoneTable(db.Model):
|
|||||||
sqlite.FLOAT(),
|
sqlite.FLOAT(),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
gate_version = db.Column(
|
gate_version = db.Column(
|
||||||
sqlite.TEXT(),
|
sqlite.TEXT(),
|
||||||
|
db.ForeignKey(FeatureGating.featureName),
|
||||||
nullable=True
|
nullable=True
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -7175,13 +7235,16 @@ class mapIcon(db.Model):
|
|||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
# FK
|
|
||||||
iconID = db.Column(
|
IconID = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
|
db.ForeignKey(Icons.IconID),
|
||||||
nullable=False,
|
nullable=False,
|
||||||
primary_key=True
|
primary_key=True
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Icon = db.relationship("Icons")
|
||||||
|
|
||||||
iconState = db.Column(
|
iconState = db.Column(
|
||||||
sqlite.INTEGER(),
|
sqlite.INTEGER(),
|
||||||
nullable=False
|
nullable=False
|
||||||
|
Loading…
Reference in New Issue
Block a user