Skip to content

Commit

Permalink
use older utf8mb4_unicode_ci charset
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Dec 11, 2023
1 parent ae4d8bf commit 76c63e8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions graphql/juniper-advanced/mysql-schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
SET NAMES utf8 ;
SET NAMES utf8mb4 ;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
Expand All @@ -21,7 +21,7 @@

DROP TABLE IF EXISTS `product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8 ;
SET character_set_client = utf8mb4 ;
CREATE TABLE `product` (
`id` varchar(255) NOT NULL,
`user_id` varchar(255) NOT NULL,
Expand All @@ -30,7 +30,7 @@ CREATE TABLE `product` (
PRIMARY KEY (`id`),
KEY `product_fk0` (`user_id`),
CONSTRAINT `product_fk0` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`)
) ENGINE=InnoDB CHARSET=utf8 COLLATE=utf8_general_ci;
) ENGINE=InnoDB CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
Expand All @@ -48,14 +48,14 @@ UNLOCK TABLES;

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
SET character_set_client = utf8 ;
SET character_set_client = utf8mb4 ;
CREATE TABLE `user` (
`id` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB CHARSET=utf8 COLLATE=utf8_general_ci;
) ENGINE=InnoDB CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
Expand Down

0 comments on commit 76c63e8

Please sign in to comment.