Hello I'm new in code and I try to change the name columun of created_at and updated_at in User table.
I see other tuto and he write in model : Change name of Laravel's created_at and updated_at
const CREATED_AT = 'post_date';
const UPDATED_AT = 'post_modified';
But for me in User model I write :
class User extends Authenticatable
{
use Uuid;
use HasApiTokens,HasFactory, Notifiable;
const CREATED_AT = 'registered_on';
const UPDATED_AT = 'modify_on';
}
But when I try the migration the column 'created_at' is here and no the 'registered_on'. Any ideas ?