-
Notifications
You must be signed in to change notification settings - Fork 0
/
auth_tokens.sql
36 lines (30 loc) · 1.28 KB
/
auth_tokens.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
/*
Navicat Premium Data Transfer
Source Server : Local Database
Source Server Type : MySQL
Source Server Version : 100130
Source Host : localhost:3306
Source Schema : pelangi
Target Server Type : MySQL
Target Server Version : 100130
File Encoding : 65001
Date: 16/03/2019 18:09:26
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for auth_tokens
-- ----------------------------
DROP TABLE IF EXISTS `auth_tokens`;
CREATE TABLE `auth_tokens` (
`id_auth` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`token` char(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
`id_user` varchar(100) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
`site_url` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
`ip_address` varchar(255) CHARACTER SET latin1 COLLATE latin1_swedish_ci NULL DEFAULT NULL,
`expires` int(11) NULL DEFAULT NULL,
`iat` datetime(0) NULL DEFAULT NULL,
`uat` timestamp(0) NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP(0),
PRIMARY KEY (`id_auth`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Compact;
SET FOREIGN_KEY_CHECKS = 1;