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

Function upgrade

eos/db/migrations/upgrade6.py:8–11  ·  view source on GitHub ↗
(saveddata_engine)

Source from the content-addressed store, hash-verified

6
7
8def upgrade(saveddata_engine):
9 saveddata_engine.execute('DELETE FROM damagePatterns WHERE name LIKE ? OR ID LIKE ?', ("Uniform", "1"))
10 saveddata_engine.execute('INSERT INTO damagePatterns (ID, name, emAmount, thermalAmount, kineticAmount, explosiveAmount, ownerID) VALUES (?, ?, ?, ?, ?, ?, ?)',
11 (1, "Uniform", 25, 25, 25, 25, None))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected