Spaces:
Running
Running
| # database/base.py | |
| from sqlmodel import SQLModel | |
| # Import all models here so SQLModel knows about them | |
| from .models import User, Goal, DayLog, ActivityEntry, Wallet, Transaction | |
| # Export SQLModel metadata for migrations | |
| metadata = SQLModel.metadata | |