|
@@ -21,20 +21,29 @@ create table link
|
|
link json null
|
|
link json null
|
|
);
|
|
);
|
|
|
|
|
|
|
|
+create table link_folder
|
|
|
|
+(
|
|
|
|
+ id int auto_increment comment 'id'
|
|
|
|
+ primary key,
|
|
|
|
+ name varchar(50) null comment '分类名称',
|
|
|
|
+ sort int default 0 null
|
|
|
|
+)
|
|
|
|
+ comment '标签链接分类';
|
|
|
|
+
|
|
create table linkstore
|
|
create table linkstore
|
|
(
|
|
(
|
|
id int auto_increment
|
|
id int auto_increment
|
|
primary key,
|
|
primary key,
|
|
- name varchar(20) null,
|
|
|
|
|
|
+ name varchar(255) null,
|
|
src varchar(255) null,
|
|
src varchar(255) null,
|
|
url varchar(255) null,
|
|
url varchar(255) null,
|
|
type varchar(20) default 'icon' null,
|
|
type varchar(20) default 'icon' null,
|
|
size varchar(20) default '1x1' null,
|
|
size varchar(20) default '1x1' null,
|
|
create_time datetime null,
|
|
create_time datetime null,
|
|
hot bigint default 0 null,
|
|
hot bigint default 0 null,
|
|
- area varchar(20) default '' null comment '专区',
|
|
|
|
- tips varchar(30) null comment '介绍',
|
|
|
|
- domain varchar(100) null,
|
|
|
|
|
|
+ area varchar(20) default '' null comment '专区',
|
|
|
|
+ tips varchar(255) null comment '介绍',
|
|
|
|
+ domain varchar(255) null,
|
|
app int default 0 null comment '是否app',
|
|
app int default 0 null comment '是否app',
|
|
install_num int default 0 null comment '安装量',
|
|
install_num int default 0 null comment '安装量',
|
|
constraint linkStore_id_uindex
|
|
constraint linkStore_id_uindex
|
|
@@ -45,11 +54,12 @@ create table note
|
|
(
|
|
(
|
|
id bigint auto_increment
|
|
id bigint auto_increment
|
|
primary key,
|
|
primary key,
|
|
- user_id bigint null,
|
|
|
|
- title varchar(50) null,
|
|
|
|
- text text null,
|
|
|
|
- create_time datetime null,
|
|
|
|
- update_time datetime null,
|
|
|
|
|
|
+ user_id bigint null,
|
|
|
|
+ title varchar(50) null,
|
|
|
|
+ text text null,
|
|
|
|
+ create_time datetime null,
|
|
|
|
+ update_time datetime null,
|
|
|
|
+ weight int default 0 null,
|
|
constraint note_id_uindex
|
|
constraint note_id_uindex
|
|
unique (id)
|
|
unique (id)
|
|
);
|
|
);
|
|
@@ -103,16 +113,6 @@ create table user
|
|
);
|
|
);
|
|
|
|
|
|
|
|
|
|
-create table link_folder
|
|
|
|
-(
|
|
|
|
- id int auto_increment comment 'id'
|
|
|
|
- primary key,
|
|
|
|
- name varchar(50) null comment '分类名称',
|
|
|
|
- sort int default 0 null
|
|
|
|
-)
|
|
|
|
- comment '标签链接分类';
|
|
|
|
-
|
|
|
|
-
|
|
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('Bilibili', '/static/bilibili.png', 'https://bilibili.com', 'icon', '1x1', '2022-11-07 21:51:42', 0, 'Bilibili弹幕视频网站Acg网站', 'bilibili.com,www.bilibili.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('Bilibili', '/static/bilibili.png', 'https://bilibili.com', 'icon', '1x1', '2022-11-07 21:51:42', 0, 'Bilibili弹幕视频网站Acg网站', 'bilibili.com,www.bilibili.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('蓝易云', '/static/tsy.png', 'https://www.tsyvps.com/aff/IRYIGFMX', 'icon', '1x1', '2022-11-07 22:02:41', 0, '蓝易云-持证高性价比服务器', 'www.tsyvps.com,tsyvps.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('蓝易云', '/static/tsy.png', 'https://www.tsyvps.com/aff/IRYIGFMX', 'icon', '1x1', '2022-11-07 22:02:41', 0, '蓝易云-持证高性价比服务器', 'www.tsyvps.com,tsyvps.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('ImgUrl', '/static/imgurl.png', 'https://imgurl.ink', 'icon', '1x1', '2022-11-07 22:05:46', 0, 'ImgUrl图床,图片外链', 'imgurl.ink,www.imgurl.ink', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('ImgUrl', '/static/imgurl.png', 'https://imgurl.ink', 'icon', '1x1', '2022-11-07 22:05:46', 0, 'ImgUrl图床,图片外链', 'imgurl.ink,www.imgurl.ink', 0, 0);
|
|
@@ -121,4 +121,4 @@ INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domai
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('腾讯云', '/static/tencentcloud.png', 'https://cloud.tencent.com/', 'icon', '1x1', '2022-11-10 16:25:51', 1, '腾讯云', 'cloud.tencent.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('腾讯云', '/static/tencentcloud.png', 'https://cloud.tencent.com/', 'icon', '1x1', '2022-11-10 16:25:51', 1, '腾讯云', 'cloud.tencent.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('阿里云', '/static/aliyun.png', 'https://www.aliyun.com/', 'icon', '1x1', '2022-11-10 17:30:17', 1, '阿里云', 'www.aliyun.com,aliyun.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('阿里云', '/static/aliyun.png', 'https://www.aliyun.com/', 'icon', '1x1', '2022-11-10 17:30:17', 1, '阿里云', 'www.aliyun.com,aliyun.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('腾讯视频', '/static/txsp.png', 'https://v.qq.com/channel/choice?channel_2022=1', 'icon', '1x1', '2022-12-19 19:34:45', 0, '腾讯视频', 'v.qq.com', 0, 0);
|
|
INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('腾讯视频', '/static/txsp.png', 'https://v.qq.com/channel/choice?channel_2022=1', 'icon', '1x1', '2022-12-19 19:34:45', 0, '腾讯视频', 'v.qq.com', 0, 0);
|
|
-INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('记事本', '/static/note.png', '/noteApp', 'icon', '1x1', '2023-06-14 21:13:15', 1,'记事本App', '/noteApp', 1, 3);
|
|
|
|
|
|
+INSERT INTO linkstore (name, src, url, type, size, create_time, hot, tips, domain, app, install_num) VALUES ('记事本', '/static/note.png', '/noteApp', 'icon', '1x1', '2023-06-14 21:13:15', 1,'记事本App', '/noteApp', 1, 3);
|