string('user_type')->nullable(); }); // Set the user_type value and keep the timestamp values. DB::table('revisions')->update([ 'user_type' => \App\Models\User::class, 'created_at' => DB::raw('created_at'), 'updated_at' => DB::raw('updated_at'), ]); } /** * Reverse the migrations. * * @return void */ public function down() { // There's no turning back } }