From 425c6f3bf70d1a470562e543b7f62f2de26a5abc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Mon, 23 Feb 2026 16:50:59 -0300 Subject: [PATCH] fix: upgrade database schema to utf8mb4 --- agenciac_comia.sql | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/agenciac_comia.sql b/agenciac_comia.sql index d062fc4..3236d3e 100644 --- a/agenciac_comia.sql +++ b/agenciac_comia.sql @@ -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`