Skip to content

Commit

Permalink
chore: sp_user base line change, username from varchar(255) to varcha…
Browse files Browse the repository at this point in the history
…r(191)

Signed-off-by: Ash <[email protected]>
  • Loading branch information
iutx committed Sep 4, 2024
1 parent c315ced commit 12a9e7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .erda/migrations/.patches/patch-20200528-tmc-base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ ALTER TABLE `tb_tmc_instance` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `tb_tmc_instance_tenant` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `tb_tmc_request_relation` CONVERT TO CHARACTER SET utf8mb4;
ALTER TABLE `tb_tmc_version` CONVERT TO CHARACTER SET utf8mb4;

ALTER TABLE `sp_user` MODIFY COLUMN `username` varchar (191) DEFAULT NULL;
2 changes: 1 addition & 1 deletion .erda/migrations/msp/20200528-tmc-base.sql
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ CREATE TABLE `sp_trace_request_history` (

CREATE TABLE `sp_user` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) DEFAULT NULL,
`username` varchar(191) DEFAULT NULL,
`salt` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP,
Expand Down

0 comments on commit 12a9e7f

Please sign in to comment.