Created
September 11, 2020 18:26
-
-
Save theednaffattack/c4109db05bc03d5ec1e6b49cce82b21d to your computer and use it in GitHub Desktop.
This file contains 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
-- migrate:up | |
SET search_path TO public; | |
CREATE TYPE role AS ENUM ('guest', 'administrator', 'moderator', 'manager'); | |
ALTER TABLE ONLY public.user | |
ADD roles role; | |
-- migrate:down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment