mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
B/W: Add new items to the database.
There's now a hole in the items table: there's no item 667. There are two records for the Live Caster in B/W, and I couldn't figure out why, or see any difference between them, and they were causing problems, so I deleted the second one.
This commit is contained in:
parent
8385353002
commit
cf12819bc8
5 changed files with 822 additions and 1 deletions
pokedex/db
|
@ -208,7 +208,7 @@ class Item(TableBase):
|
|||
__tablename__ = 'items'
|
||||
__singlename__ = 'item'
|
||||
id = Column(Integer, primary_key=True, nullable=False)
|
||||
name = Column(Unicode(16), nullable=False)
|
||||
name = Column(Unicode(20), nullable=False)
|
||||
category_id = Column(Integer, ForeignKey('item_categories.id'), nullable=False)
|
||||
cost = Column(Integer, nullable=False)
|
||||
fling_power = Column(Integer, nullable=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue