Ansgar Burchardt pushed to branch master at Debian FTP Team / dak
Commits:
-
ed2ef624
by Ansgar Burchardt at 2018-07-08T13:19:00+02:00
1 changed file:
Changes:
... | ... | @@ -64,7 +64,7 @@ def do_update(self): |
64 | 64 |
c.execute("DROP VIEW {0}".format(i))
|
65 | 65 |
|
66 | 66 |
for i in sequences:
|
67 |
- c.execute("DROP SEQUENCE {0}".format(i))
|
|
67 |
+ c.execute("DROP SEQUENCE IF EXISTS {0}".format(i))
|
|
68 | 68 |
|
69 | 69 |
c.execute("UPDATE config SET value = '119' WHERE name = 'db_revision'")
|
70 | 70 |
self.db.commit()
|