redash/migrations/0001_warning.py
2016-12-08 14:59:21 +02:00

10 lines
387 B
Python

# This is here just to print a warning for users who use the old Fabric upgrade script.
if __name__ == '__main__':
warning = "You're using an outdated upgrade script that is running migrations the wrong way. Please upgrade to " \
"newer version of the script before continuning the upgrade process."
print "*" * 20
print warning
print "*" * 20
exit(1)