Usurious
Usurious
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
Thank you @Bruno Pereira for guiding me in the right direction... (I didn't realize they weren't interchangable in that way... which is my bad.)
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
Switching that with my original id piece, worked.
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
So I'm a moron... and missed the piece of BELONGSTO and had... HASMANY
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
AHHHH I THINK I GOT IT.
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
I have $table->foreignId('host_id')->constrained('users'); set up in my trip migration, so that should be correct.
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
which it shouldn't be trying to update it.
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
But it also says it's trying to "update" the users table
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
Which looks like it's trying to use host_id instead of ID
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
No description
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
This i think shows it that it should be right
17 replies
FFilament
Created by Usurious on 3/29/2025 in #❓┊help
In Form Builder - Relation is failing to save. Presents SQL error.
I plan on having a normal user be the host. To me the data it's pulling is right to be stored in the trip, based on the form. But it's acting like it needs to update the user table? One host (user) to many (trip)
17 replies