Giter VIP home page Giter VIP logo

connspersonalwebsite's Introduction

Conn‘s Personal Website

数据库

建表

CREATE TABLE sort (
    id BIGINT(40) NOT NULL AUTO_INCREMENT,
    name VARCHAR(1024) NOT NULL COMMENT '分类名称',
    article_number TINYINT(10) NOT NULL DEFAULT '0' COMMENT '该分类下文章的数量',
    created_time DATETIME NOT NULL COMMENT '分类创建时间',
    modified_time DATETIME NOT NULL COMMENT '分类修改时间',
    is_effective TINYINT(1) NOT NULL DEFAULT '1' COMMENT '是否有效,默认为1有效,为0无效',
    PRIMARY KEY(id)
) ENGINE=INNODB DEFAULT CHARSET=utf8;
CREATE TABLE article (
    id BIGINT(40) NOT NULL AUTO_INCREMENT COMMENT '主键',
    title VARCHAR(256) NOT NULL DEFAULT '' COMMENT '文章标题',
    summary VARCHAR(1024) NOT NULL DEFAULT '' COMMENT '文章简介,默认100个汉字以内',
    content VARCHAR(20480) NOT NULL DEFAULT '' COMMENT '文件位置',
    is_top TINYINT(1) NOT NULL DEFAULT '0' COMMENT '文章是否置顶,0为否,1为是',
    visit_number INT(10) NOT NULL DEFAULT '0' COMMENT '文章访问量',
    created_time DATETIME NOT NULL COMMENT '创建时间',
    modified_time DATETIME NOT NULL COMMENT '修改时间',
    PRIMARY KEY(id)
) ENGINE=INNODB DEFAULT CHARSET=utf8;

connspersonalwebsite's People

Contributors

connhowe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.