Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
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.contacts'), function (Blueprint $table) { |
||
17 | $table->unsignedBigInteger('id', false)->primary(); |
||
18 | $table->unsignedBigInteger('crm_contact_id')->nullable()->index(); |
||
19 | $table->unsignedBigInteger('contact_type_id')->nullable()->index(); |
||
20 | $table->string('email')->nullable()->index(); |
||
21 | $table->json('details')->nullable(); |
||
22 | $table->json('communications')->nullable(); |
||
23 | $table->timestamps(); |
||
24 | }); |
||
37 |