Created
March 4, 2018 08:56
-
-
Save jakzaizzat/09ddb44da2cd6ef17b82e8eff3c0dfe3 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