Update: main.py and models.py had incorrect imports

This commit is contained in:
2025-11-16 19:34:19 +01:00
parent 1186c91dcf
commit 0eacb12c73
2 changed files with 3 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
from fastapi import FastAPI from fastapi import FastAPI
from . import models import models
from .database import engine from database import engine
# This line tells SQLAlchemy to create all the tables based on the models # This line tells SQLAlchemy to create all the tables based on the models
# we defined. It will create the `multichat_overlay.db` file with the # we defined. It will create the `multichat_overlay.db` file with the

View File

@@ -1,7 +1,7 @@
from sqlalchemy import Column, Integer, String, Text, ForeignKey from sqlalchemy import Column, Integer, String, Text, ForeignKey
from sqlalchemy.orm import relationship from sqlalchemy.orm import relationship
from .database import Base from database import Base
class User(Base): class User(Base):
__tablename__ = "users" __tablename__ = "users"