DB_51Aspx/创建数据库(mysql).sql

(开头部分) 13KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*==============================================================*/
/* Database name:  zhouli                                       */
/* DBMS name:      MySQL 5.0                                    */
/* Created on:     2019-08-28 11:45:35                          */
/*==============================================================*/


drop database if exists zhouli;

/*==============================================================*/
/* Database: zhouli                                             */
/*==============================================================*/
create database zhouli;

use zhouli;

/*==============================================================*/
/* Table: blog_article                                          */
/*==============================================================*/
create table blog_article
(
   article_id           int not null auto_increment comment '文章id',
   article_title        nvarchar(200) not null comment '文章标题',
   article_thrink       varchar(100) not null comment '文章图片',
   article_body         text not null comment '文章内容',
   article_body_markdown text comment '文章Markdown内容',
   article_body_summary nvarchar(100) comment '文章摘要',
   article_sort_value   int not null default 0 comment '排序号',
   create_user_id       varchar(36) comment '创建人id',
   create_time          datetime not null comment '创建时间',
   edit_time            datetime comment '修改时间',
   delete_sign          int not null default 1 comment '删除标识',
   delete_time          datetime comment '删除时间',
   note                 nvarchar(2048) comment '备注',
   primary key (article_id)
);

alter table blog_article comment '博客文章表';

/*==============================================================*/
/* Table: blog_article_browsing                                 */
/*==============================================================*/
create table blog_article_browsing
(
   id                   int not null auto_increment comment '博客文章浏览量表id',
   article_id           int not null comment '文章id',
   ip                   varchar(20) not null comment 'ip地址',
   create_time          datetime not null comment '创建时间',
   primary key (id)
);

/*==============================================================*/
/* Table: blog_article_like                                     */
/*==============================================================*/
create table blog_article_like
(
   id                   int not null auto_increment comment '博客文章点赞量表id',
   article_id           int not null comment '文章id',
   ip                   varchar(20) not null comment 'ip地址',
   create_time          datetime not null comment '创建时间',
后面还有 244 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。