| Conditions | 1 |
| Paths | 1 |
| Total Lines | 19 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | Schema::create('links', function($table) |
||
| 16 | { |
||
| 17 | $table->increments('id'); |
||
| 18 | $table->string('display'); |
||
| 19 | $table->string('url'); |
||
| 20 | $table->timestamps(); |
||
| 21 | // We'll need to ensure that MySQL uses the InnoDB engine to |
||
| 22 | // support the indexes, other engines aren't affected. |
||
| 23 | $table->engine = 'InnoDB'; |
||
| 24 | }); |
||
| 25 | |||
| 26 | Serverfireteam\Panel\Link::create(array( |
||
| 27 | 'display' => 'Links', |
||
| 28 | 'url' => 'Link' |
||
| 29 | )); |
||
| 30 | |||
| 31 | } |
||
| 32 | |||
| 44 |