Message from @Millwood

Discord ID: 534965026734342145


2019-01-16 05:17:53 UTC  

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

2019-01-16 05:18:02 UTC  

I asked for the weapons and he never responded

2019-01-16 05:18:04 UTC  

oh well

2019-01-16 05:18:22 UTC  

You can do that theoretically but you shouldn't. It's an SQL database and what it will save isn't an array

2019-01-16 05:18:22 UTC  

I got some from USA

2019-01-16 05:18:30 UTC  

Where they wanted me to smuggle some shit or something?

2019-01-16 05:18:30 UTC  

Neat solution is a 1-N relation

2019-01-16 05:18:43 UTC  

Ugly solution is to have some break char and split the string

2019-01-16 05:18:46 UTC  

Turek szejker chciał ci dać piniądze? @sum

2019-01-16 05:19:06 UTC  

IN ENGLISH

2019-01-16 05:19:10 UTC  

Ta, mam pootwieranych w chuj kont bankowych, nawet proszą mnie bym wziął z nich pieniądze

2019-01-16 05:19:12 UTC  

I love how only php devs would ever consider putting arrays into databases

2019-01-16 05:19:15 UTC  

REEEEEEEEEEEEEEEEEEEE

2019-01-16 05:19:16 UTC  

Hey English here

2019-01-16 05:19:17 UTC  

Don't work @Matthew

2019-01-16 05:19:29 UTC  

*pulls the hammer*

2019-01-16 05:19:38 UTC  
2019-01-16 05:19:46 UTC  

Ok, done

2019-01-16 05:19:50 UTC  

Anyone else?

2019-01-16 05:19:53 UTC  

<:boomer:480046032546168863> 😎

2019-01-16 05:20:01 UTC  

Urself @porco

2019-01-16 05:20:08 UTC  
2019-01-16 05:20:10 UTC  

https://cdn.discordapp.com/attachments/531212403858472967/534965062947962891/unknown.png

2019-01-16 05:20:11 UTC  

Something like this

2019-01-16 05:20:16 UTC  

Ok, !sudoku

2019-01-16 05:20:20 UTC  

Trying to figure out how to write that in Doctrine

2019-01-16 05:20:43 UTC  

I don't know much about doctrine but maybe just Google "Doctrine one to many relations"

2019-01-16 05:21:04 UTC  

Though that covers only one array part of the entity

2019-01-16 05:21:12 UTC  

For the second one I have no fucking clue, might just leave it as a long ass string

2019-01-16 05:21:35 UTC  

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

2019-01-16 05:21:52 UTC  

But I might just go full lazy and make a textarea so user will write a longass string there

2019-01-16 05:21:55 UTC  

You should probably reconsider your database design if you run into this kind of problems. Make a ERD

2019-01-16 05:22:07 UTC  

>any planing whatsover

2019-01-16 05:22:09 UTC  

We do shit as we go

2019-01-16 05:22:10 UTC  

Then let someone validate your ERD

2019-01-16 05:22:26 UTC  

lel

2019-01-16 05:22:36 UTC  

That sure will be a great product

2019-01-16 05:22:42 UTC  

Not much to ERD about tho

2019-01-16 05:22:51 UTC  

Since right now I got 3 entities top

2019-01-16 05:22:58 UTC  

User, Recipe, Ingredient