From 2b9499a6065694c1e6762b7bb2d29d77ff9d4f2e Mon Sep 17 00:00:00 2001 From: ZGaetano Date: Sat, 18 Apr 2026 13:42:07 -0400 Subject: [PATCH] =?UTF-8?q?feat:=20AMPP=20folder=20sync=20integration=20?= =?UTF-8?q?=E2=80=94=20pre-create=20folder=20hierarchy=20on=20upload,=20ex?= =?UTF-8?q?pose=20lookup=20endpoint=20for=20Script=20Task:=20schema=5Fpatc?= =?UTF-8?q?h=5Fampp.sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/mam-api/src/db/schema_patch_ampp.sql | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 services/mam-api/src/db/schema_patch_ampp.sql diff --git a/services/mam-api/src/db/schema_patch_ampp.sql b/services/mam-api/src/db/schema_patch_ampp.sql new file mode 100644 index 0000000..c28d5c8 --- /dev/null +++ b/services/mam-api/src/db/schema_patch_ampp.sql @@ -0,0 +1,13 @@ +-- Wild Dragon AMPP Integration Schema Patch +-- Run after initial schema.sql + +-- Key/value store for runtime configuration (AMPP credentials, etc.) +CREATE TABLE IF NOT EXISTS settings ( + key TEXT PRIMARY KEY, + value TEXT NOT NULL, + updated_at TIMESTAMPTZ DEFAULT NOW() +); + +-- Track which AMPP folder each asset was synced to +ALTER TABLE assets ADD COLUMN IF NOT EXISTS ampp_folder_id TEXT; +ALTER TABLE assets ADD COLUMN IF NOT EXISTS ampp_synced_at TIMESTAMPTZ;