update admin user business

This commit is contained in:
2026-03-14 16:26:44 +03:30
parent 007db7f9bd
commit d2215b9f04
62 changed files with 1812 additions and 140 deletions
@@ -0,0 +1,12 @@
-- DropForeignKey
ALTER TABLE `poses` DROP FOREIGN KEY `poses_device_id_fkey`;
-- DropIndex
DROP INDEX `poses_device_id_fkey` ON `poses`;
-- AlterTable
ALTER TABLE `poses` MODIFY `pos_type` ENUM('PSP', 'MOBILE', 'WEB', 'API') NOT NULL,
MODIFY `device_id` VARCHAR(191) NULL;
-- AddForeignKey
ALTER TABLE `poses` ADD CONSTRAINT `poses_device_id_fkey` FOREIGN KEY (`device_id`) REFERENCES `devices`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;