increments('id'); $table->integer('parent_id')->nullable(); $table->integer('parent_type')->nullable(); $table->string('name', 100)->nullable(); $table->string('slug', 100)->nullable(); $table->dateTime('date_start')->nullable(); $table->dateTime('date_end')->nullable(); $table->string('direction', 30)->nullable(); $table->mediumText('description')->nullable(); $table->string('hot', 30)->nullable(); $table->date('called_on')->nullable(); $table->string('duration', 30)->nullable(); $table->string('status', 30)->nullable(); $table->string('substatus', 30)->nullable(); $table->string('notes', 100)->nullable(); $table->text('audio')->nullable(); $table->smallInteger('assigned_to')->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('calls'); } }