| Conditions | 1 |
| Paths | 1 |
| Total Lines | 26 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | public function up() |
||
| 11 | { |
||
| 12 | Schema::create(config('rinvex.contacts.tables.contacts'), function (Blueprint $table) { |
||
| 13 | // Columns |
||
| 14 | $table->increments('id'); |
||
| 15 | $table->morphs('entity'); |
||
| 16 | $table->string('given_name'); |
||
| 17 | $table->string('family_name')->nullable(); |
||
| 18 | $table->string('title')->nullable(); |
||
| 19 | $table->string('organization')->nullable(); |
||
| 20 | $table->string('email')->nullable(); |
||
| 21 | $table->string('phone')->nullable(); |
||
| 22 | $table->string('fax')->nullable(); |
||
| 23 | $table->string('country_code', 2)->nullable(); |
||
| 24 | $table->string('language_code', 2)->nullable(); |
||
| 25 | $table->date('birthday')->nullable(); |
||
| 26 | $table->string('gender')->nullable(); |
||
| 27 | $table->string('national_id_type')->nullable(); |
||
| 28 | $table->string('national_id')->nullable(); |
||
| 29 | $table->string('source')->nullable(); |
||
| 30 | $table->string('method')->nullable(); |
||
| 31 | $table->text('notes')->nullable(); |
||
| 32 | $table->timestamps(); |
||
| 33 | $table->softDeletes(); |
||
| 34 | }); |
||
| 35 | } |
||
| 36 | |||
| 42 |