-- Add metadata_complete flag to documents.
-- Existing rows default to true (already reviewed before this feature existed).
-- New documents created via Java will receive false from the entity default.

ALTER TABLE documents
    ADD COLUMN metadata_complete BOOLEAN NOT NULL DEFAULT TRUE;
