diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-06-26 11:51:50 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-06-26 11:51:50 +0200 |
commit | 03dda1eb13b8aec22a1a7a69fae56f1acf7dfa87 (patch) | |
tree | 297dbcda7f47ddd14c199f1c992c52ae2452739d | |
parent | c441e411d0ac68a78554d15e302a74fdeabb7420 (diff) |
Remove flask_migrate dependency.
-rwxr-xr-x | fhost.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -22,7 +22,6 @@ from flask import Flask, abort, escape, make_response, redirect, request, send_from_directory, url_for, Response from flask_sqlalchemy import SQLAlchemy from flask_script import Manager -from flask_migrate import Migrate, MigrateCommand from hashlib import sha256 from humanize import naturalsize from magic import Magic @@ -82,10 +81,8 @@ if not os.path.exists(app.config["FHOST_STORAGE_PATH"]): os.mkdir(app.config["FHOST_STORAGE_PATH"]) db = SQLAlchemy(app) -migrate = Migrate(app, db) manager = Manager(app) -manager.add_command("db", MigrateCommand) su = UrlEncoder(alphabet='DEQhd2uFteibPwq0SWBInTpA_jcZL5GKz3YCR14Ulk87Jors9vNHgfaOmMXy6Vx-', block_size=16) |