Improvements to Character API

This commit adds default character and characters retrieved from API to
the DB, opening the door for "quick update" of API data (we now have api
details and character to update).
This commit is contained in:
blitzmann
2013-08-06 13:01:30 -04:00
parent 96bb1b197e
commit 7dce615933
3 changed files with 62 additions and 41 deletions

View File

@@ -30,6 +30,8 @@ characters_table = Table("characters", saveddata_meta,
Column("name", String, nullable = False),
Column("apiID", Integer),
Column("apiKey", String),
Column("defaultChar", Integer),
Column("chars", String, nullable = True),
Column("defaultLevel", Integer, nullable=True),
Column("ownerID", ForeignKey("users.ID"), nullable = True))