kind of a mess lol but file caching and front end
This commit is contained in:
@ -5,14 +5,6 @@ from sqlalchemy import pool
|
||||
|
||||
from alembic import context
|
||||
|
||||
# Import your models here
|
||||
from app.db.database import Base
|
||||
from app.models.inventory import Inventory
|
||||
from app.models.card import Card
|
||||
from app.models.box import Box, OpenBox
|
||||
from app.models.game import Game
|
||||
from app.models.file import File
|
||||
|
||||
# this is the Alembic Config object, which provides
|
||||
# access to the values within the .ini file in use.
|
||||
config = context.config
|
||||
@ -24,6 +16,10 @@ if config.config_file_name is not None:
|
||||
|
||||
# add your model's MetaData object here
|
||||
# for 'autogenerate' support
|
||||
# from myapp import mymodel
|
||||
# target_metadata = mymodel.Base.metadata
|
||||
from app.db.database import Base
|
||||
from app.models import *
|
||||
target_metadata = Base.metadata
|
||||
|
||||
# other values from the config, defined by the needs of env.py,
|
||||
|
Reference in New Issue
Block a user