use pandoractl to update db

This commit is contained in:
j 2024-09-16 17:38:48 +01:00
parent 1b1442e664
commit d5ace7aeca

View file

@ -363,7 +363,7 @@ if __name__ == "__main__":
and row not in ['BEGIN;', 'COMMIT;'] and row not in ['BEGIN;', 'COMMIT;']
] ]
if diff: if diff:
print('Database has changed, please make a backup and run %s db' % sys.argv[0]) print('Database has changed, please make a backup and run: sudo pandoractl update db')
elif branch != 'master': elif branch != 'master':
print('pan.do/ra is at the latest release,\nyou can run "%s switch master" to switch to the development version' % sys.argv[0]) print('pan.do/ra is at the latest release,\nyou can run "%s switch master" to switch to the development version' % sys.argv[0])
elif current != new: elif current != new: