-- Reverse t-paliad-022 preferences columns. Restore 016's nullable lang and
-- drop email_preferences entirely.
ALTER TABLE paliad.users
    ALTER COLUMN lang DROP NOT NULL,
    ALTER COLUMN lang DROP DEFAULT;

ALTER TABLE paliad.users
    DROP COLUMN IF EXISTS email_preferences;
