diff --git a/migrations/81_pbkdf2_encryption.down.sql b/migrations/81_pbkdf2_encryption.down.sql new file mode 100644 index 0000000..e23d76c --- /dev/null +++ b/migrations/81_pbkdf2_encryption.down.sql @@ -0,0 +1,3 @@ +DROP TYPE PASSWORD_ENCODER_TYPE; + +CREATE TYPE PASSWORD_ENCODER_TYPE AS ENUM ('PLAIN', 'SHA', 'LDAP_SHA', 'MD4', 'MD5'); \ No newline at end of file diff --git a/migrations/81_pbkdf2_encryption.up.sql b/migrations/81_pbkdf2_encryption.up.sql new file mode 100644 index 0000000..d027d93 --- /dev/null +++ b/migrations/81_pbkdf2_encryption.up.sql @@ -0,0 +1,2 @@ +ALTER TYPE PASSWORD_ENCODER_TYPE ADD VALUE 'PBKDF2'; +ALTER TYPE PASSWORD_ENCODER_TYPE ADD VALUE 'PBKDF2-HMAC-SHA512'; \ No newline at end of file