Removed web url from projects

Makes no sense having it in the projects, the url is always the same across all.
This commit is contained in:
Domeniko Gentner 2020-12-20 10:23:31 +01:00
parent 0c56e734d8
commit 9c44ff3d57
2 changed files with 0 additions and 2 deletions

View File

@ -188,7 +188,6 @@ def upgrade_db_to_v2_import():
default_project = {
"id_project": 1,
"name": "default",
"weburl": settings.system['web_url'],
"blogurl": settings.system['blog_url'],
"output": settings.system['output'],
"sendotp": settings.system['send_otp_to_publish'],

View File

@ -19,7 +19,6 @@ class TProjects(db.Model):
# data
name = db.Column(db.Text, nullable=False, unique=True)
weburl = db.Column(db.Text, nullable=False)
blogurl = db.Column(db.Text, nullable=False)
output = db.Column(db.Text, nullable=False)
sendotp = db.Column(db.Boolean, nullable=False)