increments('id'); $table->string('log_name')->nullable(); $table->string('description'); $table->integer('subject_id')->nullable(); $table->string('subject_type')->nullable(); $table->integer('causer_id')->nullable(); $table->string('causer_type')->nullable(); $table->text('properties')->nullable(); $table->timestamps(); $table->index('log_name'); }); } /** * Reverse the migrations. */ public function down() { Schema::drop('activity_log'); } }