How do you add a new table in your sqlite database with sqlx? #12691
Unanswered
LeafWarrior
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Did you try reaching out to the sqlx community? There's nothing tauri specific about your question so i assume they can help you better than us. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys, I've been trying to add a new table in my existing database and a foreign key referencing the new table in my existing table but tauri is not letting me.
Here is my code.
Frontend: Javascript.
Backend: Rust
Database: sqlx sqlite
Here's my migration code. customer table already exist previously and had a bunch of records. The only new column in customer is idenid. Both code and item are the new tables.
I'm getting this error when I run my application.
Beta Was this translation helpful? Give feedback.
All reactions