MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / upgrade

Function upgrade

eos/db/migrations/upgrade3.py:10–14  ·  view source on GitHub ↗
(saveddata_engine)

Source from the content-addressed store, hash-verified

8
9
10def upgrade(saveddata_engine):
11 try:
12 saveddata_engine.execute("SELECT modeID FROM fits LIMIT 1")
13 except sqlalchemy.exc.DatabaseError:
14 saveddata_engine.execute("ALTER TABLE fits ADD COLUMN modeID INTEGER")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected