Answers for "update postgres enum"

SQL
6

postgresql add enum value

ALTER TYPE enum_type ADD VALUE 'new_value'; -- appends to list
ALTER TYPE enum_type ADD VALUE 'new_value' BEFORE 'old_value';
ALTER TYPE enum_type ADD VALUE 'new_value' AFTER 'old_value';
Posted by: Guest on March-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language