Schema::table('users', function(Blueprint $table) { $table->dateTime('last_activity'); }); DB::statement('UPDATE users SET last_activity = updated_at');