sftpgo-mirror/sql/mysql/20190807.sql
Nicola Murino 2aca4479a5 rename public_key in public_keys
remove compatibility layer to convert public keys newline delimited
in json list
2019-08-07 23:41:10 +02:00

6 lines
No EOL
139 B
PL/PgSQL

BEGIN;
--
-- Rename field public_key on user to public_keys
--
ALTER TABLE `users` CHANGE `public_key` `public_keys` longtext NULL;
COMMIT;