Skip to content

migration: changement de valeur d'un champ de type enums #1

@dimtrovich

Description

@dimtrovich

Impossible de modifier un champ de type "enum". la migration s'execute normalement mais la modification n'est pas appliquer

 $this->modify('formations', function(Structure $table) {
            $table->enum('niveau', ['debutant', 'moyen', 'avance', 'expert', 'all'])->change();
			
            return $table;
        });

Sachant que je veut ajouter la valeur 'all'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions