Open alex-ong opened 10 months ago
@alex-ong what DB did you use to reproduce this behavior?
Just FYI For more granular control, such as Indexes / constraints, it could be worth while to consider using pydbantic with alembic
Thanks for the response; i was using sqlite. I'll read those docs!
Setup works fine the first time.
After adding one field to User, it fails
This only fails with ForeignKey. Using
works perfectly fine. I want to eventually use an index on user_uuid / start_ts hence the want for Foreign key, rather than
user_uuid: User
, which generates an intermediary table.