File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1111DATABASE_URL = os .getenv ("DATABASE_URL" )
1212config .set_main_option ("sqlalchemy.url" , DATABASE_URL )
1313
14- from app .db import Base
15- from app .models import *
16- target_metadata = Base .metadata
14+ from app .db .db import Base
15+ import app .db .models
16+
17+ target_metadata = [Base .metadata ]
18+ fileConfig (config .config_file_name )
19+
1720# this is the Alembic Config object, which provides
1821# access to the values within the .ini file in use.
1922config = context .config
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ class Track(Base):
1515 id = Column (Integer , primary_key = True , index = True )
1616 title = Column (String , unique = True , nullable = False )
1717 description = Column (Text )
18+ testing = Column (Text )
1819
1920class Task (Base ):
2021 __tablename__ = "tasks"
You can’t perform that action at this time.
0 commit comments