projects
/
zzz-pokedex.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added ISO-3166 country codes to languages table and lookup.
[zzz-pokedex.git]
/
pokedex
/
db
/
tables.py
diff --git
a/pokedex/db/tables.py
b/pokedex/db/tables.py
index
653f5af
..
01cc6a0
100644
(file)
--- a/
pokedex/db/tables.py
+++ b/
pokedex/db/tables.py
@@
-151,6
+151,7
@@
class Item(TableBase):
class Language(TableBase):
__tablename__ = 'languages'
id = Column(Integer, primary_key=True, nullable=False)
+ iso3166 = Column(Unicode(2), nullable=False)
name = Column(Unicode(16), nullable=False)
class Location(TableBase):