DROP TABLE IF EXISTS `sso_login`;
CREATE TABLE `sso_login` (
  `PK_sso_login_id` int NOT NULL,
  `FK_users_id` int NOT NULL,
  `sso_id` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_creation` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


ALTER TABLE `sso_login`
  ADD PRIMARY KEY (`PK_sso_login_id`),
  ADD KEY `FK_users_id` (`FK_users_id`);


ALTER TABLE `sso_login`
  MODIFY `PK_sso_login_id` int NOT NULL AUTO_INCREMENT;
COMMIT;