(saveddata_engine)
| 9 | |
| 10 | |
| 11 | def upgrade(saveddata_engine): |
| 12 | try: |
| 13 | saveddata_engine.execute("SELECT status FROM prices LIMIT 1") |
| 14 | except sqlalchemy.exc.DatabaseError: |
| 15 | # Just drop table, table will be re-created by sqlalchemy and |
| 16 | # data will be re-fetched |
| 17 | saveddata_engine.execute("DROP TABLE prices;") |
nothing calls this directly
no outgoing calls
no test coverage detected