Created
March 24, 2020 13:26
-
-
Save ashour/d64a3f72421c2829b884c23b3421449a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE `users` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`email` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; | |
CREATE TABLE `user_translations` ( | |
`id` int(11) unsigned NOT NULL AUTO_INCREMENT, | |
`user_id` int(11) DEFAULT NULL, | |
`locale` varchar(5) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', | |
`first_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', | |
`last_name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '', | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment