Message from @sum

Discord ID: 534965740365676544


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

2019-01-16 05:23:04 UTC  

If you are considering putting arrays in your database, you really should make an ERD

2019-01-16 05:23:15 UTC  

Believe me

2019-01-16 05:23:21 UTC  

1 user = many recipes
1 recipe = many ingredients

2019-01-16 05:23:29 UTC  

And that covers all my ERD needs

2019-01-16 05:23:45 UTC  

Ok pro

2019-01-16 05:23:46 UTC  

So yeah, guess One-To-Many should work

2019-01-16 05:23:49 UTC  

Thanks

2019-01-16 05:24:08 UTC  

Just don't complain when it sucks

2019-01-16 05:24:27 UTC  

I'm not sure I already said it but

2019-01-16 05:24:28 UTC  

Or when it becomes unmaintainable

2019-01-16 05:24:41 UTC  

I'm not planning on maintaining it or making cash out of it or whatever

2019-01-16 05:24:51 UTC  

I'm just planning to make it, write doc about it, turn that shit to uni

2019-01-16 05:25:02 UTC  

And make them make me an engineer

2019-01-16 05:25:41 UTC  

Don't overwork yourself for no reason, I like it

2019-01-16 05:26:28 UTC  

If I were doing this for fun, I sure as hell wouldn't be doing a fucking website or webapp or whatever the fuck you call this

2019-01-16 05:43:22 UTC  

!bible

2019-01-16 07:08:10 UTC  

Huuuh cancer

2019-01-16 07:33:47 UTC  

Fucking tech support