-
Notifications
You must be signed in to change notification settings - Fork 412
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix-syntax-warnings
- Loading branch information
Showing
530 changed files
with
106,848 additions
and
25,913 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
""" | ||
Migration 48 | ||
- added pilot security column (CONCORD ships) | ||
""" | ||
|
||
|
||
import sqlalchemy | ||
|
||
|
||
def upgrade(saveddata_engine): | ||
try: | ||
saveddata_engine.execute("SELECT pilotSecurity FROM fits LIMIT 1") | ||
except sqlalchemy.exc.DatabaseError: | ||
saveddata_engine.execute("ALTER TABLE fits ADD COLUMN pilotSecurity FLOAT") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
""" | ||
Migration 49 | ||
- added hp column to targetResists table | ||
""" | ||
|
||
|
||
import sqlalchemy | ||
|
||
|
||
def upgrade(saveddata_engine): | ||
try: | ||
saveddata_engine.execute("SELECT hp FROM targetResists LIMIT 1;") | ||
except sqlalchemy.exc.DatabaseError: | ||
saveddata_engine.execute("ALTER TABLE targetResists ADD COLUMN hp FLOAT;") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.