From 7ba49fddffd6db922068882c466ed1fc876d9d23 Mon Sep 17 00:00:00 2001
From: Markus Scheller <scheller_m@live.de>
Date: Sat, 24 Feb 2018 20:31:09 +0100
Subject: [PATCH] Add column 'latex_template' to ProtocolType to use in the
 compiling process and the corresponding view

protokollsystem/proto3#170
---
 models/database.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/models/database.py b/models/database.py
index 8eed90e..5304fbf 100644
--- a/models/database.py
+++ b/models/database.py
@@ -71,6 +71,7 @@ class ProtocolType(DatabaseModel):
     calendar = db.Column(db.String)
     restrict_networks = db.Column(db.Boolean)
     allowed_networks = db.Column(db.String)
+    latex_template = db.Column(db.String)
 
     protocols = relationship("Protocol", backref=backref("protocoltype"), cascade="all, delete-orphan", order_by="Protocol.id")
     default_tops = relationship("DefaultTOP", backref=backref("protocoltype"), cascade="all, delete-orphan", order_by="DefaultTOP.number")
-- 
GitLab