2017 © Pedro Peláez
 

library laravel-schema-extend

support MySQL 'column comment' and 'table comment'.

image

five-say/laravel-schema-extend

support MySQL 'column comment' and 'table comment'.

  • Tuesday, May 26, 2015
  • by 5-say
  • Repository
  • 7 Watchers
  • 51 Stars
  • 621 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 10 Forks
  • 2 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

laravel-schema-extend

  • support MySQL 'column comment' and 'table comment'.
  • 让 laravel 的 Schema 支持 MySQL “列注释”和“表注释”。

不会对官方源码照成任何影响。
继承原生 schema,随源码更新。, (*1)

使用前的准备

在 composer.json 文件中申明依赖:, (*2)

  • support laravel 4.1.*
"five-say/laravel-schema-extend": "1.*"
  • support laravel 4.2.*(官方已支持 MySQL “列注释”,需要“表注释”的朋友还可以继续使用此插件)
"five-say/laravel-schema-extend": "2.*"
  • support laravel 5.0.*(官方已支持 MySQL “列注释”,需要“表注释”的朋友还可以继续使用此插件)
"five-say/laravel-schema-extend": "3.*"

在配置文件 config/app.php 中替换“别名”, (*3)

'aliases' => array(
    ...
    // 'Schema' => 'Illuminate\Support\Facades\Schema',
    'Schema'    => 'FiveSay\LaravelSchemaExtend\Facade',
),

使用方法

Schema::create('tests', function ($table) {
    $table->increments('id')->comment('列注释');
    $table->comment = '表注释';
});

致谢

The Versions

26/05 2015

dev-master

9999999-dev

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

26/05 2015

v1.1.1

1.1.1.0

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

26/05 2015

dev-support-laravel-5.0.more

dev-support-laravel-5.0.more

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

26/05 2015

v3.0.1

3.0.1.0

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

26/05 2015

dev-support-laravel-4.2.more

dev-support-laravel-4.2.more

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

26/05 2015

v2.0.1

2.0.1.0

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

11/04 2015

v2.0.0

2.0.0.0

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

11/04 2015

v3.0.0

3.0.0.0

support MySQL 'column comment' and 'table comment'.

  Sources   Download

The Requires

 

by FiveSay

laravel schema mysql comment

28/08 2014

v1.1.0

1.1.0.0

  Sources   Download

The Requires

 

by FiveSay

28/08 2014

v1.0.2

1.0.2.0

  Sources   Download

The Requires

 

by FiveSay

28/08 2014

v1.0.1

1.0.1.0

  Sources   Download

The Requires

 

by FiveSay

28/08 2014

v1.0.0

1.0.0.0

  Sources   Download

The Requires

 

by FiveSay