Size: a a a

2020 December 07

V

Vlad in Laravel Pro
Не респондентов не реквест
источник

АГ

Алексей Гевондян... in Laravel Pro
может ошибка где?)
источник

V

Vlad in Laravel Pro
Глаза уже выпадают
источник

V

Vlad in Laravel Pro
Все делаю правильно
источник

АГ

Алексей Гевондян... in Laravel Pro
по доке сделал?
источник

АГ

Алексей Гевондян... in Laravel Pro
ну скеж код тада
источник
2020 December 08

r

rip your face in Laravel Pro
Помогите с sql. Как сделать leftJoin с product_prices у которого минимальное значение price и есть наличие (Цены с Наличием связаны по size_id)
источник

r

rip your face in Laravel Pro
источник

r

rip your face in Laravel Pro
rip your face
Помогите с sql. Как сделать leftJoin с product_prices у которого минимальное значение price и есть наличие (Цены с Наличием связаны по size_id)
вот так оно просто перед первую встречную цену которая соответствует условию "есть в наличии" а как сюда ещё притулить минимальную цену не понимаю
источник

М

Марк in Laravel Pro
Ни у кого случайна на гитхабе нет проекта интернет магазина laravel+vue
источник

AM

Arthur Minasyan in Laravel Pro
I need to build the database correctly. I have a blog post form which in turn has the ability to add multiple files, add multiple tags. Need to make polymorphic eloquent relation for files table and tags table and I need to advise.

Post table can have multiple files and multiple tags. But I have to use those two files and tags for other models as well.

How can I build this correctly?
источник

АГ

Алексей Гевондян... in Laravel Pro
Марк
Ни у кого случайна на гитхабе нет проекта интернет магазина laravel+vue
скопипастить хочешь?) ну уж нет)
источник

АГ

Алексей Гевондян... in Laravel Pro
Arthur Minasyan
I need to build the database correctly. I have a blog post form which in turn has the ability to add multiple files, add multiple tags. Need to make polymorphic eloquent relation for files table and tags table and I need to advise.

Post table can have multiple files and multiple tags. But I have to use those two files and tags for other models as well.

How can I build this correctly?
just make the special different tables, why do you want to make morph?
источник

М

Марк in Laravel Pro
Алексей Гевондян
скопипастить хочешь?) ну уж нет)
Да не,посмотреть что и как,я нуб просто ахпер Джан)
источник

АГ

Алексей Гевондян... in Laravel Pro
Arthur Minasyan
I need to build the database correctly. I have a blog post form which in turn has the ability to add multiple files, add multiple tags. Need to make polymorphic eloquent relation for files table and tags table and I need to advise.

Post table can have multiple files and multiple tags. But I have to use those two files and tags for other models as well.

How can I build this correctly?
for every many to many relation table make the dedicated table, it will be the best solution, the most understandable and easy to use
источник

AM

Arthur Minasyan in Laravel Pro
Алексей Гевондян
for every many to many relation table make the dedicated table, it will be the best solution, the most understandable and easy to use
Because I do not want to create a new table for each model, ex. post_files, comment_file ... . Comments, Posts have the ability to attach several files. Then there will be more models that should also have this feature.
источник

АГ

Алексей Гевондян... in Laravel Pro
Arthur Minasyan
Because I do not want to create a new table for each model, ex. post_files, comment_file ... . Comments, Posts have the ability to attach several files. Then there will be more models that should also have this feature.
what is written in the docs? what's the problem?
источник

AM

Arthur Minasyan in Laravel Pro
Алексей Гевондян
for every many to many relation table make the dedicated table, it will be the best solution, the most understandable and easy to use
источник

АГ

Алексей Гевондян... in Laravel Pro
anyway, if you have both files and tags for linking with many other entities - you should have 2 tables - for tags and for files
источник

АГ

Алексей Гевондян... in Laravel Pro
/report
источник