# |
Jul 25th 2017, 15:18 |
cleptric |
You have to name them differently and configure the assocation in your table |
# |
Jul 25th 2017, 15:17 |
ra7bi |
liked* |
# |
Jul 25th 2017, 15:17 |
ra7bi |
what would be the name of the table ? |
# |
Jul 25th 2017, 15:17 |
ra7bi |
now i want to link likes with ( users and snippets ) which mean table will store all snippet likes by user |
# |
Jul 25th 2017, 15:16 |
ra7bi |
Yes that is what i have to link the snippets with users |
# |
Jul 25th 2017, 15:16 |
cleptric |
Speaking of Cake conventions, which work out of the box, the table should be named `users_snippets` with the fields `user_id` and `snippet_id` |
# |
Jul 25th 2017, 15:16 |
ra7bi |
if i create table "users_likes" which has user_id snippet_id |
# |
Jul 25th 2017, 15:15 |
ra7bi |
they are same logic |
# |
Jul 25th 2017, 15:14 |
ra7bi |
it's okay i want to understand one of them |
# |
Jul 25th 2017, 15:14 |
cleptric |
So you want favourite and liked? |
# |
Jul 25th 2017, 15:13 |
ra7bi |
favourite* |
# |
Jul 25th 2017, 15:13 |
ra7bi |
if user want to store his flavorist snippets |
# |
Jul 25th 2017, 15:12 |
ra7bi |
sorry i dont understand what do you mean by Users m:n Snippets |
# |
Jul 25th 2017, 15:12 |
cleptric |
So Users m:n Snippets? |
# |
Jul 25th 2017, 15:11 |
ra7bi |
now i want to store all snippets liked by the user |
# |
Jul 25th 2017, 15:10 |
ra7bi |
all snippets belong to the user |
# |
Jul 25th 2017, 15:10 |
ra7bi |
it store all snippets saved by user |
# |
Jul 25th 2017, 15:09 |
cleptric |
What does users_snippets? |
# |
Jul 25th 2017, 15:07 |
ra7bi |
but seems not working |
# |
Jul 25th 2017, 15:07 |
ra7bi |
i'v three tables users snippets users_snippets now i want to create another table for likes (snippets which liked by user ) what should i call the table ? i've tried users_snippets_likes - user_id -snippet_id |
# |
Jul 25th 2017, 15:06 |
ra7bi |
hey |
# |
Jul 25th 2017, 14:20 |
neon1024 |
It almost got me learning NodeJS too, so I could contribute |
# |
Jul 25th 2017, 14:18 |
neon1024 |
It’s how I know to check my screen wash in the car today :) |
# |
Jul 25th 2017, 14:16 |
joris_ |
Looks cool, but for me hard to keep it up to date |
# |
Jul 25th 2017, 14:16 |
jeremyharris |
that’s very cool. I had a similar idea a while ago, cool to see someone make it happen :slightly_smiling_face: |
# |
Jul 25th 2017, 14:15 |
neon1024 |
I find it helpful :slightly_smiling_face: |
# |
Jul 25th 2017, 14:15 |
cleptric |
Uhh, that looks cool |
# |
Jul 25th 2017, 14:14 |
neon1024 |
This feels like an appropriate time to plug https://habitica.com |
# |
Jul 25th 2017, 14:14 |
lorenzo |
Long meeting days |
# |
Jul 25th 2017, 14:14 |
jeremyharris |
:) |
# |
Jul 25th 2017, 14:13 |
neon1024 |
It’s super effective! |
# |
Jul 25th 2017, 14:13 |
slackebot1 |
Action: neon1024 casts refactor |
# |
Jul 25th 2017, 14:13 |
neon1024 |
Heh :) |
# |
Jul 25th 2017, 14:13 |
slackebot1 |
Action: jeremyharris heals your code for 50 hp aka coverage |
# |
Jul 25th 2017, 14:13 |
jeremyharris |
I’m like that guy in the background that just heals |
# |
Jul 25th 2017, 14:12 |
neon1024 |
#3 Signs you’ve been playing too much Total War: Warhammer |
# |
Jul 25th 2017, 14:12 |
neon1024 |
At least the artillery unit has arrived with @jeremyharris at the helm |
# |
Jul 25th 2017, 14:12 |
neon1024 |
I tried to introduce a hero unit the battlefield in the form of @lorenzo but he’s taking a long time to cast his spells! |
# |
Jul 25th 2017, 14:11 |
neon1024 |
It’s attritional stuff! |
# |
Jul 25th 2017, 14:11 |
neon1024 |
This is day 3 |
# |
Jul 25th 2017, 14:11 |
neon1024 |
It’s a long drawn out battle |