DROP TYPE IF EXISTS "UserRoleMapping" CASCADE; CREATE TYPE "UserRoleMapping" AS ENUM ( 'user', 'manager', 'owner' ); ALTER TABLE users ADD COLUMN role "UserRoleMapping" DEFAULT 'user' NOT NULL;