# comment **Repository Path**: sky.tian/comment ## Basic Information - **Project Name**: comment - **Description**: 基于laravel5.2的留言板 - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2017-04-05 - **Last Updated**: 2024-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Laravel PHP Framework [![Build Status](https://travis-ci.org/laravel/framework.svg)](https://travis-ci.org/laravel/framework) [![Total Downloads](https://poser.pugx.org/laravel/framework/d/total.svg)](https://packagist.org/packages/laravel/framework) [![Latest Stable Version](https://poser.pugx.org/laravel/framework/v/stable.svg)](https://packagist.org/packages/laravel/framework) [![Latest Unstable Version](https://poser.pugx.org/laravel/framework/v/unstable.svg)](https://packagist.org/packages/laravel/framework) [![License](https://poser.pugx.org/laravel/framework/license.svg)](https://packagist.org/packages/laravel/framework) Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, queueing, and caching. Laravel is accessible, yet powerful, providing powerful tools needed for large, robust applications. A superb inversion of control container, expressive migration system, and tightly integrated unit testing support give you the tools you need to build any application with which you are tasked. ## Official Documentation Documentation for the framework can be found on the [Laravel website](http://laravel.com/docs). ## Contributing Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](http://laravel.com/docs/contributions). ## Security Vulnerabilities If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell at taylor@laravel.com. All security vulnerabilities will be promptly addressed. ## License The Laravel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT) ## change db ## 创建user表 CREATE TABLE `user` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `user_name` varchar(30) CHARACTER SET utf8 NOT NULL COMMENT '用户名', `email` varchar(30) CHARACTER SET utf8 NOT NULL COMMENT '邮箱', `password` varchar(255) CHARACTER SET utf8 NOT NULL COMMENT '密码', `create_time` int(11) NOT NULL COMMENT '创建时间', `update_time` int(11) DEFAULT NULL COMMENT '更新时间', `status` bit(1) NOT NULL DEFAULT b'1' COMMENT '0为黑名单', `is_admin` bit(1) NOT NULL DEFAULT b'0' COMMENT '1为管理员', UNIQUE KEY `user_name` (`user_name`), UNIQUE KEY `email` (`email`), KEY `id` (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8; ## 创建comment表 CREATE TABLE `comment` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `uid` int(11) unsigned NOT NULL COMMENT 'comment对应的uid', `text` text CHARACTER SET utf8 NOT NULL COMMENT '留言内容', `create_time` int(11) NOT NULL COMMENT '创建时间', KEY `uid` (`uid`), KEY `id` (`id`) ) ENGINE=MyISAM AUTO_INCREMENT=83 DEFAULT CHARSET=utf8;