| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create(config('myriad-data-store.tables.orders'), function (Blueprint $table) { |
||
| 17 | $table->unsignedBigInteger('id', false)->primary(); |
||
| 18 | $table->string('status')->index(); |
||
| 19 | $table->unsignedBigInteger('invoice_contact_id', false)->index(); |
||
| 20 | $table->unsignedBigInteger('despatch_contact_id', false)->index(); |
||
| 21 | $table->unsignedBigInteger('agent_contact_id', false)->index(); |
||
| 22 | $table->date('order_date')->index(); |
||
| 23 | $table->json('details')->nullable(); |
||
| 24 | $table->timestamps(); |
||
| 25 | }); |
||
| 38 |