Register a local-filesystem backend rooted at dir (created on first write).
The simplest way to turn attachments on; swap for an object-store backend in
production.
SQL CREATE TABLE IF NOT EXISTS + index for the attachment table. Run once on
a SQL backend via adminx_core::seed(adminx_storage::migrate_sql()). Mongo
needs nothing.