/**
  * Run the migrations.
  *
  * @return void
  */
 public function up()
 {
     Schema::create('djs', function (Blueprint $table) {
         $table->increments('id');
         $table->string('name');
         $table->string('realname');
         $table->string('picture');
         $table->timestamps();
     });
     Eloquent::unguard();
     $users = User::all();
     foreach ($users as $user) {
         DJ::create(['id' => $user->id, 'name' => $user->dj_name, 'picture' => $user->picture, 'realname' => $user->name]);
     }
     Schema::table('user', function (Blueprint $table) {
         $table->dropColumn('dj_name');
         $table->dropColumn('picture');
         $table->dropColumn('active');
     });
 }