fix: upgrade database schema to utf8mb4
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m16s
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m16s
This commit is contained in:
@@ -43,7 +43,7 @@ CREATE TABLE `attendances` (
|
||||
`attention_points` json DEFAULT NULL,
|
||||
`improvement_points` json DEFAULT NULL,
|
||||
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
|
||||
) ;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Extraindo dados da tabela `attendances`
|
||||
@@ -64,7 +64,7 @@ CREATE TABLE `teams` (
|
||||
`name` varchar(255) NOT NULL,
|
||||
`description` text,
|
||||
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Extraindo dados da tabela `teams`
|
||||
@@ -89,7 +89,7 @@ CREATE TABLE `tenants` (
|
||||
`status` enum('active','inactive','trial') DEFAULT 'active',
|
||||
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Extraindo dados da tabela `tenants`
|
||||
@@ -120,7 +120,7 @@ CREATE TABLE `users` (
|
||||
`bio` text,
|
||||
`status` enum('active','inactive') DEFAULT 'active',
|
||||
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
--
|
||||
-- Extraindo dados da tabela `users`
|
||||
|
||||
Reference in New Issue
Block a user