Holds user-defined metadata templates and the AVU metadata the metadata service manages on behalf of the DE.
Create¶
Connect as a superuser on the host running PostgreSQL:
psql -h <DATABASE_HOST> -U postgres
-- as a superuser; owned by the de role, not a role of its own
create database metadata with owner de;
Extensions¶
\c metadata
create extension "uuid-ossp";
create extension "moddatetime";
create extension "btree_gist";
Populate and migrate¶
Schema and data come from de-database, applied with the shared procedure in
database migrations. In a normal deployment the
setup-databases and update-databases Ansible tags do this for you.