migrate orion repo into monorepo structure

This commit is contained in:
talksik
2026-02-21 08:48:34 -08:00
parent 144596fcaa
commit b5f90709de
91 changed files with 19775 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
CREATE TABLE depot_objects (
id TEXT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
content_type VARCHAR(255) NOT NULL,
content_length BIGINT NOT NULL,
bucket_name VARCHAR(255) NOT NULL,
object_key TEXT NOT NULL,
contains_content BOOLEAN NOT NULL DEFAULT FALSE,
created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);
CREATE INDEX idx_depot_objects_orphaned
ON depot_objects(created_at) WHERE contains_content = FALSE;