Refactor database sharing
Following discussion on beat.web!410 (merged), the database sharing feature will be refactored with the following:
- Add a new
direct_rawdata_access
optional field to the database schema - Use that in place of the optional "share_databases" external field
- The field will apply to both v1 and v2 Database schema
- Support for optional field allows to keep the current databases working