summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db_actions.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/db_actions.py b/db_actions.py
index 5ee2f16..dc59d00 100644
--- a/db_actions.py
+++ b/db_actions.py
@@ -2,13 +2,9 @@ from time import time
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
-from sqlalchemy.orm import DeclarativeBase
from sqlalchemy.sql import text
-class Base(DeclarativeBase):
- pass
-
-db = SQLAlchemy(model_class=Base)
+db = SQLAlchemy()
def user_new(nick):
sql = "INSERT \