добавляю модель работы с избраннымми приложениями пользователя и таблицы БД, где хранятся пользовательские избранные приложения

This commit is contained in:
vasya
2026-03-21 19:48:37 +03:00
parent 2aedec677e
commit 123fc969f0
3 changed files with 29 additions and 0 deletions
@@ -0,0 +1,10 @@
-- custom.user_fav_app definition
CREATE TABLE `user_fav_app` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT NULL,
`user_login` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`fav_apps` text COLLATE utf8mb4_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Избранные приложения пользователя из меню Magic';
@@ -0,0 +1,2 @@
INSERT INTO custom.user_fav_app (created_at,updated_at,user_login,fav_apps) VALUES
('2025-03-28 18:16:10','2025-11-14 10:35:04','dgavrilov','reestr_send_app;dadata;amlpor;accext;prlog;anketa;pilotIVI;limcut;nsr;minjust;mcocardreporting;taxi');