UserType 'SuperAdmin','Admin','Report','Agent','Sales'

This commit is contained in:
Ibnu Maksum
2024-02-12 17:02:43 +07:00
parent bf6ec9d4cd
commit 792b1367d3
18 changed files with 62 additions and 49 deletions

View File

@ -190,6 +190,7 @@ CREATE TABLE `tb_languages` (
ALTER TABLE `tbl_voucher` ADD `generated_by` INT NOT NULL DEFAULT '0' COMMENT 'id admin' AFTER `status`;
ALTER TABLE `tbl_users` ADD `root` INT NOT NULL DEFAULT '0' COMMENT 'for sub account' AFTER `id`;
ALTER TABLE `tbl_users` CHANGE `user_type` `user_type` ENUM('SuperAdmin','Admin','Report','Agent','Sales') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL;
ALTER TABLE `tbl_appconfig`
ADD PRIMARY KEY (`id`);