-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path!blank_sql.sql
213 lines (171 loc) · 5.69 KB
/
!blank_sql.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
-- phpMyAdmin SQL Dump
-- version 4.4.15.10
-- https://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: 2023-08-08 15:34:36
-- 服务器版本: 5.7.37-log
-- PHP Version: 5.6.40
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `on`
--
-- --------------------------------------------------------
--
-- 表的结构 `onlogs`
--
CREATE TABLE IF NOT EXISTS `onlogs` (
`tips` text NOT NULL COMMENT '提示',
`nameurl` text NOT NULL COMMENT '名字路径',
`logtext` text NOT NULL COMMENT '日志文字',
`time` text NOT NULL COMMENT '时间',
`ip` text NOT NULL COMMENT 'ip'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='日志表';
--
-- 转存表中的数据 `onlogs`
--
INSERT INTO `onlogs` (`tips`, `nameurl`, `logtext`, `time`, `ip`) VALUES
('0', '0', 'First', '0', '0.0.0.0');
-- --------------------------------------------------------
--
-- 表的结构 `ordylannote`
--
CREATE TABLE IF NOT EXISTS `ordylannote` (
`checkin` text NOT NULL COMMENT '签到',
`boxnum` int(11) NOT NULL COMMENT '宝箱个数',
`dailyview1` text NOT NULL COMMENT '看笔记任务1',
`dailyview2` text NOT NULL COMMENT '看笔记任务2',
`dailyview3` text NOT NULL COMMENT '看笔记任务3',
`knowledgepoints` int(11) NOT NULL COMMENT '知识点个数',
`RPON` int(11) NOT NULL COMMENT 'Remnant page of notes笔记残图个数',
`test` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='笔记系统';
--
-- 转存表中的数据 `ordylannote`
--
INSERT INTO `ordylannote` (`checkin`, `boxnum`, `dailyview1`, `dailyview2`, `dailyview3`, `knowledgepoints`, `RPON`, `test`) VALUES
('', 0, '', '', '', 0, 0, 0);
-- --------------------------------------------------------
--
-- 表的结构 `ordylannotecard`
--
CREATE TABLE IF NOT EXISTS `ordylannotecard` (
`exam/yw` int(11) NOT NULL,
`exam/sx` int(11) NOT NULL,
`exam/yy` int(11) NOT NULL,
`exam/wl` int(11) NOT NULL,
`exam/hx` int(11) NOT NULL,
`exam/zz` int(11) NOT NULL,
`exam/ls` int(11) NOT NULL,
`exam/sw` int(11) NOT NULL,
`exam/dl` int(11) NOT NULL,
`exam/all` int(11) NOT NULL,
`test` int(11) NOT NULL COMMENT '没有用测试'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='笔记系统卡牌';
--
-- 转存表中的数据 `ordylannotecard`
--
INSERT INTO `ordylannotecard` (`exam/yw`, `exam/sx`, `exam/yy`, `exam/wl`, `exam/hx`, `exam/zz`, `exam/ls`, `exam/sw`, `exam/dl`, `exam/all`, `test`) VALUES
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
-- --------------------------------------------------------
--
-- 表的结构 `ordylannoterank`
--
CREATE TABLE IF NOT EXISTS `ordylannoterank` (
`username` text NOT NULL COMMENT '用户名',
`userimg` text NOT NULL COMMENT '图片',
`kp` int(11) NOT NULL COMMENT '知识点',
`pron` int(11) NOT NULL COMMENT '残图',
`userid` int(11) NOT NULL COMMENT '!随机排行按的是这个,0是本人'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='趣味排行榜';
-- --------------------------------------------------------
--
-- 表的结构 `temptasks`
--
CREATE TABLE IF NOT EXISTS `temptasks` (
`id` int(6) unsigned NOT NULL,
`name` varchar(100) NOT NULL,
`subject` varchar(50) NOT NULL,
`complete` tinyint(1) DEFAULT '0',
`created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB AUTO_INCREMENT=1001 DEFAULT CHARSET=utf8;
--
-- 转存表中的数据 `temptasks`
--
INSERT INTO `temptasks` (`id`, `name`, `subject`, `complete`, `created_at`) VALUES
(1000, '学习test', 'Subject', 0, '2023-08-08 07:28:03');
-- --------------------------------------------------------
--
-- 表的结构 `tempvideoviewtotal`
--
CREATE TABLE IF NOT EXISTS `tempvideoviewtotal` (
`mode` int(11) NOT NULL COMMENT '0学习1中考',
`subject` int(11) NOT NULL COMMENT '学科(参考tag)',
`url` text NOT NULL COMMENT '文件路径',
`info` text NOT NULL COMMENT '描述',
`isfinish` int(11) NOT NULL COMMENT '是(1)否(0)完成',
`id` int(11) NOT NULL COMMENT '暂时排序'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
--
-- 表的结构 `WED`
--
CREATE TABLE IF NOT EXISTS `WED` (
`id` int(11) NOT NULL COMMENT 'id',
`s` int(11) NOT NULL COMMENT '学科',
`u` text NOT NULL COMMENT '题目url',
`i` text NOT NULL COMMENT '说明',
`ai` text NOT NULL COMMENT '题目答案图',
`a` text NOT NULL COMMENT '答案{AAA}分割',
`d` text NOT NULL COMMENT '错题日期·',
`r` int(11) NOT NULL COMMENT '是否回答过(不被抽)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='刷错题';
--
-- Indexes for dumped tables
--
--
-- Indexes for table `ordylannote`
--
ALTER TABLE `ordylannote`
ADD PRIMARY KEY (`test`);
--
-- Indexes for table `ordylannotecard`
--
ALTER TABLE `ordylannotecard`
ADD PRIMARY KEY (`test`);
--
-- Indexes for table `ordylannoterank`
--
ALTER TABLE `ordylannoterank`
ADD PRIMARY KEY (`userid`);
--
-- Indexes for table `temptasks`
--
ALTER TABLE `temptasks`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `tempvideoviewtotal`
--
ALTER TABLE `tempvideoviewtotal`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `WED`
--
ALTER TABLE `WED`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `temptasks`
--
ALTER TABLE `temptasks`
MODIFY `id` int(6) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=1001;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;