-- Drop triggers
DROP TRIGGER IF EXISTS update_document_sessions_updated_at ON document_sessions;
DROP TRIGGER IF EXISTS update_document_metadata_updated_at ON document_metadata;

-- Drop function
DROP FUNCTION IF EXISTS update_updated_at_column();

-- Drop tables
DROP TABLE IF EXISTS document_errors;
DROP TABLE IF EXISTS document_metadata;
DROP TABLE IF EXISTS document_versions;
DROP TABLE IF EXISTS document_sessions;