fix: upgrade database schema to utf8mb4
All checks were successful
Build and Deploy / build-and-push (push) Successful in 1m16s

This commit is contained in:
Cauê Faleiros
2026-02-23 16:50:59 -03:00
parent 0ffaf6d2b2
commit 425c6f3bf7

View File

@@ -43,7 +43,7 @@ CREATE TABLE `attendances` (
`attention_points` json DEFAULT NULL, `attention_points` json DEFAULT NULL,
`improvement_points` json DEFAULT NULL, `improvement_points` json DEFAULT NULL,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
) ; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
-- --
-- Extraindo dados da tabela `attendances` -- Extraindo dados da tabela `attendances`
@@ -64,7 +64,7 @@ CREATE TABLE `teams` (
`name` varchar(255) NOT NULL, `name` varchar(255) NOT NULL,
`description` text, `description` text,
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP `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` -- Extraindo dados da tabela `teams`
@@ -89,7 +89,7 @@ CREATE TABLE `tenants` (
`status` enum('active','inactive','trial') DEFAULT 'active', `status` enum('active','inactive','trial') DEFAULT 'active',
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP, `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE 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` -- Extraindo dados da tabela `tenants`
@@ -120,7 +120,7 @@ CREATE TABLE `users` (
`bio` text, `bio` text,
`status` enum('active','inactive') DEFAULT 'active', `status` enum('active','inactive') DEFAULT 'active',
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP `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` -- Extraindo dados da tabela `users`