mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
add mysql migration_v2 file, refactor migrate-db
This commit is contained in:
parent
96de650a67
commit
65fe29c385
3 changed files with 95 additions and 4 deletions
|
|
@ -106,3 +106,6 @@ CREATE TABLE `team_user` (
|
|||
INDEX `team_user_user_id_idx`(`user_id`),
|
||||
PRIMARY KEY (`team_user_id`)
|
||||
) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
|
||||
-- CreateAdminUser
|
||||
INSERT INTO account (username, password, is_admin) values ('admin', '$2b$10$BUli0c.muyCW1ErNJc3jL.vFRFtFJWrT8/GcR4A.sUdCznaXiqFXa', true);
|
||||
Loading…
Add table
Add a link
Reference in a new issue