Added script to automate json dump, sql convert, and diff prep. Also adds metadata to eve.db

This commit is contained in:
blitzmann
2014-11-29 20:50:34 -05:00
parent b93b59fe4d
commit a565abe6f7
6 changed files with 561 additions and 447 deletions

View File

@@ -23,7 +23,7 @@ from eos.types import MetaData
from eos.db import gamedata_meta
metadata_table = Table("metadata", gamedata_meta,
Column("fieldName", String, primary_key=True),
Column("fieldValue", String))
Column("field_name", String, primary_key=True),
Column("field_value", String))
mapper(MetaData, metadata_table)

View File

@@ -325,9 +325,7 @@ class Item(EqBase):
return False
class MetaData(EqBase):
def __init__(self, name, val=None):
self.fieldName = name
self.fieldValue = val
pass
class EffectInfo(EqBase):
pass