| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace VojtaSvoboda\Brands\Updates; |
||
| 9 | public function up() |
||
| 10 | { |
||
| 11 | Schema::create('vojtasvoboda_brands_brands', function(Blueprint $table) |
||
| 12 | { |
||
| 13 | $table->engine = 'InnoDB'; |
||
| 14 | $table->increments('id')->unsigned(); |
||
| 15 | |||
| 16 | $table->string('name', 300); |
||
| 17 | $table->string('slug', 300)->nullable(); |
||
| 18 | $table->text('description', 300)->nullable(); |
||
| 19 | $table->string('external_link', 300)->nullable(); |
||
| 20 | $table->boolean('no_link')->default(false); |
||
| 21 | |||
| 22 | $table->boolean('enabled')->default(true); |
||
| 23 | $table->smallInteger('sort_order')->nullable(); |
||
| 24 | |||
| 25 | $table->timestamps(); |
||
| 26 | $table->softDeletes(); |
||
| 27 | }); |
||
| 28 | } |
||
| 29 | |||
| 35 |