increments('id'); $table->integer('company_id')->nullable(); $table->integer('branch_id')->nullable(); $table->integer('department_id')->nullable(); $table->integer('division_id')->nullable(); $table->integer('agent_id')->nullable(); $table->integer('account_id')->nullable(); $table->enum('type', ['Yes', 'No'])->nullable(); $table->string('ref', 20)->nullable(); $table->string('title', 10)->nullable(); $table->string('name', 150)->nullable(); $table->enum('gender', ['Yes', 'No'])->nullable(); $table->date('dob')->nullable(); $table->string('passportno', 50)->nullable(); $table->string('licenseno', 50)->nullable(); $table->string('nationalid', 50)->nullable(); $table->string('residanceid', 50)->nullable(); $table->string('nationality', 100)->nullable(); $table->string('religion', 100)->nullable(); $table->string('languages', 100)->nullable(); $table->string('phone', 255)->nullable(); $table->string('mobile', 255)->nullable(); $table->text('mobiles')->nullable(); $table->string('email', 255)->nullable(); $table->text('emails')->nullable(); $table->text('address')->nullable(); $table->integer('location_id')->nullable(); $table->integer('region_id')->nullable(); $table->integer('country_id')->nullable(); $table->string('time_zone', 50)->nullable(); $table->string('designation', 30)->nullable(); $table->text('social_urls')->nullable(); $table->text('documents')->nullable(); $table->text('notes')->nullable(); $table->string('upload_folder', 255)->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('bixo_contact_contacts'); } }