-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfastapi.sql
34 lines (29 loc) · 977 Bytes
/
fastapi.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
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50540
Source Host : localhost:3306
Source Database : fastapi
Target Server Type : MYSQL
Target Server Version : 50540
File Encoding : 65001
Date: 2020-02-26 16:18:19
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(255) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`salt` varchar(255) DEFAULT NULL,
`hashed_password` varchar(255) DEFAULT NULL,
`bio` varchar(255) DEFAULT NULL,
`image` varchar(255) DEFAULT NULL,
`created_at` timestamp NULL DEFAULT NULL,
`updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4;
SET FOREIGN_KEY_CHECKS=1;