increments('id'); $table->integer('actionable_id')->nullable(); $table->string('actionable_type', 50)->nullable(); $table->string('type', 50)->nullable(); $table->integer('action_id')->nullable(); $table->string('action_type', 30)->nullable(); $table->dateTime('date')->nullable(); $table->integer('score')->nullable(); $table->integer('user_id')->nullable(); $table->string('user_type', 20)->nullable(); $table->package::package.fieldtype.KEY('PRIMARY')->nullable(); $table->text('marking', 200)->nullable(); $table->softDeletes(); $table->nullableTimestamps(); }); } /* * Reverse the migrations. * * @return void */ public function down() { Schema::drop('bixo_kpi_kpis'); } }