Add a scrypt to migrate the old database