2445 |
2445 |
2446 def __unapplyMigrations(self): |
2446 def __unapplyMigrations(self): |
2447 """ |
2447 """ |
2448 Private slot to revert all migrations of an application. |
2448 Private slot to revert all migrations of an application. |
2449 """ |
2449 """ |
2450 apps = list(sorted(self.__getMigrations().keys())) |
2450 apps = sorted(self.__getMigrations().keys()) |
2451 if not apps: |
2451 if not apps: |
2452 EricMessageBox.information( |
2452 EricMessageBox.information( |
2453 None, |
2453 None, |
2454 self.tr("Unapply Migrations"), |
2454 self.tr("Unapply Migrations"), |
2455 self.tr("""No migrations available.""")) |
2455 self.tr("""No migrations available.""")) |