From: Himawan Winarto <himawan.winarto@canonical.com>
Date: Thu, 22 Jan 2026 09:19:15 -0800
Subject: Install missing db and resource files

Include non-Python data files that are loaded at runtime via
importlib.resources but not auto-discovered by setuptools/PBR when
building from a tarball:

- designate/storage/sqlalchemy/: alembic.ini, script.py.mako, README
  (used by designate-manage database migrations)
- designate/resources/: schemas/admin/quota.json (loaded by the quota
  admin API via load_schema), templates/export-zone.jinja2 (loaded by
  the zone export endpoint via render_template)

resources/ has no __init__.py so find_packages does not discover it;
without a MANIFEST.in entry these files are absent from the installed
package and the quota API and zone export fail with ResourceNotFound.
---
 MANIFEST.in | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 MANIFEST.in

diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..93e799d
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,2 @@
+recursive-include designate/storage/sqlalchemy/ *
+recursive-include designate/resources *
