-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaccounts_update.sql
47 lines (42 loc) · 1.47 KB
/
accounts_update.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
39
40
41
42
43
44
45
46
47
/*
Navicat MySQL Data Transfer
Source Server : Masina #1
Source Server Version : 100140
Source Host : 173.212.237.12:3306
Source Database : xdev
Target Server Type : MYSQL
Target Server Version : 100140
File Encoding : 65001
Date: 2019-08-08 18:08:07
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for accounts
-- ----------------------------
DROP TABLE IF EXISTS `accounts`;
CREATE TABLE `accounts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`login` varchar(40) NOT NULL,
`socialClub` varchar(128) NOT NULL,
`password` varchar(128) NOT NULL,
`email` varchar(40) NOT NULL,
`lang` varchar(10) NOT NULL DEFAULT 'eng',
`regIp` varchar(40) NOT NULL,
`regDate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`lastIp` varchar(40) NOT NULL,
`lastDate` timestamp NULL DEFAULT NULL,
`confirmEmail` int(1) NOT NULL DEFAULT '0',
`pin` int(11) NOT NULL DEFAULT '0',
`exp` int(11) NOT NULL DEFAULT '0',
`minutes` int(11) NOT NULL DEFAULT '0',
`rp` int(11) NOT NULL DEFAULT '0',
`donate` int(11) NOT NULL DEFAULT '0',
`googlecode` varchar(60) NOT NULL DEFAULT 'none',
`promocode` varchar(255) NOT NULL,
`googlesecret` varchar(60) NOT NULL DEFAULT 'none',
`email_status` int(11) NOT NULL DEFAULT '0',
`achievements_slot` int(1) NOT NULL DEFAULT '0',
`donate_slot` int(1) NOT NULL DEFAULT '0',
`done` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;