Skip to content
Discussion options

You must be logged in to vote

When migrating to Reflex 0.8.15 I just replaced the base class as in class Foo(rx.Model, table=True) ==> class Foo(SQLModel, table=True) and things just worked. I don't know if table=True is still necessary, haven't tried yet removing it. And I did not add the decorator @rx.ModelRegistry.register though as in your example.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@luator
Comment options

@larsblumberg
Comment options

Answer selected by luator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants