This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
/
init.sql
112 lines (104 loc) · 2.6 KB
/
init.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# Automatically generated by jpa
CREATE TABLE attendance
(
id INT NOT NULL
PRIMARY KEY,
appid VARCHAR(255) NULL,
extra VARCHAR(255) NULL,
face VARCHAR(255) NULL,
name VARCHAR(255) NULL,
nickname VARCHAR(255) NULL,
plan VARCHAR(255) NULL,
tel VARCHAR(255) NULL,
uid INT NOT NULL
)
ENGINE = MyISAM;
CREATE TABLE bless
(
id INT NOT NULL
PRIMARY KEY,
avatar_url VARCHAR(255) NULL,
city VARCHAR(255) NULL,
country VARCHAR(255) NULL,
gender VARCHAR(255) NULL,
language VARCHAR(255) NULL,
nick_name VARCHAR(255) NULL,
openid VARCHAR(255) NULL,
province VARCHAR(255) NULL,
time VARCHAR(255) NULL,
uid INT NOT NULL
)
ENGINE = MyISAM;
CREATE TABLE comment
(
id INT NOT NULL
PRIMARY KEY,
face VARCHAR(255) NULL,
nickname VARCHAR(255) NULL,
time VARCHAR(255) NULL,
uid INT NOT NULL,
words VARCHAR(255) NULL
)
ENGINE = MyISAM;
CREATE TABLE hibernate_sequence
(
next_val BIGINT NULL
)
ENGINE = MyISAM;
CREATE TABLE location
(
id INT NOT NULL
PRIMARY KEY,
lat DOUBLE NOT NULL,
lon DOUBLE NOT NULL,
uid INT NOT NULL
)
ENGINE = MyISAM;
CREATE TABLE main_info
(
id INT NOT NULL
PRIMARY KEY,
address VARCHAR(255) NULL,
app_name VARCHAR(255) NULL,
appid VARCHAR(255) NULL,
code VARCHAR(255) NULL,
cover VARCHAR(255) NULL,
date VARCHAR(255) NULL,
he VARCHAR(255) NULL,
he_tel VARCHAR(255) NULL,
hotel VARCHAR(255) NULL,
lat DOUBLE NOT NULL,
lng DOUBLE NOT NULL,
lunar VARCHAR(255) NULL,
music VARCHAR(255) NULL,
qrimg VARCHAR(255) NULL,
share VARCHAR(255) NULL,
she VARCHAR(255) NULL,
she_tel VARCHAR(255) NULL,
thumb VARCHAR(255) NULL,
uid INT NOT NULL
)
ENGINE = MyISAM;
CREATE TABLE photo
(
id INT NOT NULL
PRIMARY KEY,
addtime VARCHAR(255) NULL,
image VARCHAR(255) NULL,
uid INT NOT NULL
)
ENGINE = MyISAM;
CREATE TABLE wx_user
(
id INT NOT NULL
PRIMARY KEY,
avatar_url VARCHAR(255) NULL,
city VARCHAR(255) NULL,
country VARCHAR(255) NULL,
gender VARCHAR(255) NULL,
language VARCHAR(255) NULL,
nick_name VARCHAR(255) NULL,
province VARCHAR(255) NULL,
uid INT NOT NULL
)
ENGINE = MyISAM;