Replies: 2 comments 1 reply
-
I think these problems have been fixed, we also have tests for this case in the generator. Do you have a small (but ideally complete) repro for this case that I could take a look at? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi, Apologies for the delay. The issue seems to be caused by adding a view. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In reference to these two issues, is there a robust way of doing this now?
#442
#447
If I create a drift file
The resulting .g.dart file contains duplicate table names, removing this file (drift) solves the issue.
If I remove the table name from tables[] in @DriftDatabase it does not duplicate the table however, it does not generate the indexes, views also don't work as it doesn't generate all of the code.
My work around is to add them here.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions