increments('id'); $table->integer('team_id')->nullable(); $table->integer('ref')->nullable(); $table->string('title_name', 200)->nullable(); $table->string('first_name', 150)->nullable(); $table->string('last_name', 100)->nullable(); $table->string('slug', 200)->nullable(); $table->string('stage', 100)->nullable(); $table->string('assigned_user', 50)->nullable(); $table->string('amount', 50)->nullable(); $table->integer('probability')->nullable(); $table->string('lead_source', 50)->nullable(); $table->dateTime('date_close')->nullable(); $table->text('account_name')->nullable(); $table->string('email', 200)->nullable(); $table->string('phone', 20)->nullable(); $table->string('title', 200)->nullable(); $table->string('website', 200)->nullable(); $table->integer('country_id')->nullable(); $table->integer('state_id')->nullable(); $table->integer('district_id')->nullable(); $table->string('zipcode', 50)->nullable(); $table->integer('status_id')->nullable(); $table->integer('type_id')->nullable(); $table->integer('source_id')->nullable(); $table->string('budget_from', 50)->nullable(); $table->string('budget_to', 50)->nullable(); $table->integer('industry_id')->nullable(); $table->integer('assigned_id')->nullable(); $table->text('contact')->nullable(); $table->text('description')->nullable(); $table->text('notes')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 50)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('leads'); } }