| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function up() |
||
| 13 | { |
||
| 14 | Schema::create('addresses', function (Blueprint $table) { |
||
| 15 | $table->increments('id'); |
||
| 16 | $table->hashslug(); |
||
| 17 | $table->nullableBelongsTo('countries'); |
||
| 18 | $table->unsignedInteger('addressable_id'); |
||
| 19 | $table->string('addressable_type'); |
||
| 20 | $table->text('primary')->nullable(); |
||
| 21 | $table->text('secondary')->nullable(); |
||
| 22 | $table->string('postcode')->nullable(); |
||
| 23 | $table->string('city')->nullable(); |
||
| 24 | $table->string('state')->nullable(); |
||
| 25 | $table->is('default'); |
||
| 26 | $table->standardTime(); |
||
| 27 | }); |
||
| 38 |