Package Data | |
---|---|
Maintainer Username: | wind930 |
Maintainer Contact: | bcw.5@foxmail.com (FiveSay) |
Package Create Date: | 2015-04-09 |
Package Last Update: | 2015-07-10 |
Home Page: | |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-15 15:16:17 |
Package Statistics | |
---|---|
Total Downloads: | 577 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 1 |
Total Watchers: | 0 |
Total Forks: | 0 |
Total Open Issues: | 0 |
不会对官方源码照成任何影响!
同时随官方源码的更新,自动保持最新。
也就是说,官方后期若更新了新的功能,您都还可以正常使用!
在 composer.json 文件中申明依赖:
"wind/laravel-schema-extend": "dev-master"
在 /app/config/app.php
中替换“别名”
'aliases' => array(
...
// 'Schema' => 'Illuminate\Support\Facades\Schema',
'Schema' => 'wind\LaravelSchemaExtend\Facade',
),
Schema::create('tests', function ($table) {
$table->increments('id')->comment('列注释');
$table->comment = '表注释';
});