Message from @Millwood
Discord ID: 534965026734342145
I got one that said That some long-lost relative died and left a crate of weaponry at an embassy, and he suggested selling the weapons and giving me a cut of the proceeds
I asked for the weapons and he never responded
oh well
You can do that theoretically but you shouldn't. It's an SQL database and what it will save isn't an array
I got some from USA
Where they wanted me to smuggle some shit or something?
Neat solution is a 1-N relation
Ugly solution is to have some break char and split the string
IN ENGLISH
Ta, mam pootwieranych w chuj kont bankowych, nawet proszą mnie bym wziął z nich pieniądze
I love how only php devs would ever consider putting arrays into databases
REEEEEEEEEEEEEEEEEEEE
Hey English here
*pulls the hammer*
Ok, done
Anyone else?
<:boomer:480046032546168863> 😎
Something like this
Ok, !sudoku
Trying to figure out how to write that in Doctrine
I don't know much about doctrine but maybe just Google "Doctrine one to many relations"
Though that covers only one array part of the entity
For the second one I have no fucking clue, might just leave it as a long ass string
Since I want user to write a step by step guide, thought neat way of doing that would be by making each step an array member
But I might just go full lazy and make a textarea so user will write a longass string there
You should probably reconsider your database design if you run into this kind of problems. Make a ERD
>any planing whatsover
We do shit as we go
Then let someone validate your ERD
lel
That sure will be a great product
Not much to ERD about tho
Since right now I got 3 entities top
User, Recipe, Ingredient