Removed web url from projects

Makes no sense having it in the projects, the url is always the same across all.
projects
Domeniko Gentner 4 years ago
parent 0c56e734d8
commit 9c44ff3d57
  1. 1
      labertasche/blueprints/bp_upgrades/db_v2.py
  2. 1
      labertasche/models/t_projects.py

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

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

Loading…
Cancel
Save