-
-
Save richard457/18fdbc0a1dd3c425e01febc41cdb441a to your computer and use it in GitHub Desktop.
Update ENUM value in Laravel Migration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DB::statement("ALTER TABLE roles CHANGE COLUMN role role ENUM('system admin', 'super admin', 'admin staff', 'instructor', 'customer', 'gym member', 'swim member')"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment