-
Notifications
You must be signed in to change notification settings - Fork 0
/
export.sql
38 lines (33 loc) · 1.74 KB
/
export.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-- --------------------------------------------------------
-- Сервер: 127.0.0.1
-- Server version: 5.6.10-log - MySQL Community Server (GPL)
-- Server OS: Win32
-- HeidiSQL Версія: 7.0.0.4381
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Dumping database structure for interview-test
CREATE DATABASE IF NOT EXISTS `interview-test` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `interview-test`;
-- Dumping structure for table interview-test.users
DROP TABLE IF EXISTS `users`;
CREATE TABLE IF NOT EXISTS `users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(300) COLLATE utf8_unicode_ci NOT NULL,
`first_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`last_name` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`birthday` date NOT NULL,
`shoe_size` decimal(4,1) NOT NULL,
`fav_ice_cream` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`fav_superhero` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`fav_moviestar` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
`world_end_date` date NOT NULL,
`superbowl_winner` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
-- Data exporting was unselected.
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;