increments('id'); $table->string('user_id'); $table->integer('_id'); $table->string('id_type'); $table->string('to'); $table->string('from'); $table->string('message')->nullable(); $table->string('error')->nullable(); $table->text('description')->nullable(); $table->text('recording')->nullable(); $table->string('sid')->nullable(); $table->string('purpose')->nullable(); $table->string('direction')->nullable(); $table->string('status')->nullable(); $table->string('duration')->nullable(); $table->timestamp('startTime')->nullable(); $table->timestamp('endTime')->nullable(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('call_logs'); } }