Commit 69e9596c authored by Robin Sonnabend's avatar Robin Sonnabend

Fixed minor issues

parent b822d2e9
......@@ -34,7 +34,7 @@ class User(db.Model, UserMixin):
)
class Topics(db.Model):
class Topic(db.Model):
__tablename__ = "topics"
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String, unique=True)
......
......@@ -10,7 +10,7 @@ from passlib.hash import pbkdf2_sha256
import config
from shared import db, login_manager, render_layout
from models.forms import LoginForm, NewUserForm
from models.database import User, Statement, Speaker, Toic
from models.database import User, Statement, Speaker, Topic
app = Flask(__name__)
app.config.from_object(config)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment