1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 20:55:10 +01:00

Point alembic config to the new models module

This commit is contained in:
2025-09-12 12:30:14 +02:00
parent 59205166cb
commit f4afa34f69
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ from sqlalchemy.engine import Connection
from sqlalchemy.ext.asyncio import async_engine_from_config
from sqlmodel import SQLModel
from src.digimarks.main import Bookmark, PublicTag, User
from src.digimarks.models import Bookmark, PublicTag, User
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.

View File

@@ -98,7 +98,7 @@ class Bookmark(SQLModel, table=True):
class PublicTag(SQLModel, table=True):
"""Public tag object."""
__tablename__ = 'public_tag'
__tablename__ = 'publictag'
id: int = Field(primary_key=True)
tagkey: str