Skip to content
Prev Previous commit
Next Next commit
new migration
  • Loading branch information
f0ssel committed Oct 6, 2022
commit 8b10c269e06b494e4bdceec2770e58a379836bf2
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- You cannot safely remove values from enums https://www.postgresql.org/docs/current/datatype-enum.html
-- You cannot create a new type and do a rename because objects depend on this type now.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TYPE login_type ADD VALUE IF NOT EXISTS 'machine';