Zikra Auliya

Results 3 comments of Zikra Auliya

In my use case I have all images in media table where I can refer to it from any model with morphOne or morphMany. Initialy I want to set user's...

CREATE TABLE `media` ( `id` bigint(20) UNSIGNED NOT NULL, `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `model_id` bigint(20) UNSIGNED NOT NULL, `uuid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `collection_name` varchar(255) COLLATE utf8mb4_unicode_ci...

Yes and no, its my mistake. I think you can close this now. Thanks