Initial commit: Open sourcing all of the Maple Open Technologies code.

This commit is contained in:
Bartlomiej Mika 2025-12-02 14:33:08 -05:00
commit 755d54a99d
2010 changed files with 448675 additions and 0 deletions

View file

@ -0,0 +1,24 @@
CREATE TABLE IF NOT EXISTS maplepress.pages_by_site (
site_id UUID,
page_id TEXT,
tenant_id UUID,
title TEXT,
content TEXT,
excerpt TEXT,
url TEXT,
status TEXT,
post_type TEXT,
author TEXT,
published_at TIMESTAMP,
modified_at TIMESTAMP,
indexed_at TIMESTAMP,
meilisearch_doc_id TEXT,
created_at TIMESTAMP,
updated_at TIMESTAMP,
-- CWE-359: IP address tracking for GDPR compliance (90-day retention)
created_from_ip_address TEXT,
created_from_ip_timestamp TIMESTAMP,
modified_from_ip_address TEXT,
modified_from_ip_timestamp TIMESTAMP,
PRIMARY KEY (site_id, page_id)
) WITH CLUSTERING ORDER BY (page_id ASC);