denverbyf / d_groupblog Goto Github PK
View Code? Open in Web Editor NEW基于laravel5.5开发的团队博客系统,支持markdown语法,团队管理
基于laravel5.5开发的团队博客系统,支持markdown语法,团队管理
routes/web.php 中的路由是不是都要一条一条写, 有没有方法可以自动生成.
然后我运行 npm run dev 成功了 ,还是404,最后我将他配到了phpstudy,就可以访问了。。。http://localhost:8094/public/
php7 artisan migrate
Migration table created successfully.
[Illuminate\Database\QueryException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767
bytes (SQL: alter table users
add unique users_name_unique
(name
))
[PDOException]
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767
bytes
修复方法
升级MySql版本到5.5.3以上。
手动配置迁移命令migrate生成的默认字符串长度,在app/Providers/AppServiceProvider.php
中调用Schema::defaultStringLength方法来实现配置:
增加
use Illuminate\Support\Facades\Schema;
/**
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.