Feat : Setup cloudflare worker for cloud endpoint

This commit is contained in:
decolua
2026-02-09 11:27:41 +07:00
parent c68b875a36
commit 102c193112
25 changed files with 1739 additions and 82 deletions

View File

@@ -0,0 +1,9 @@
-- Migration: Create machines table
CREATE TABLE IF NOT EXISTS machines (
machineId TEXT PRIMARY KEY,
data TEXT NOT NULL,
updatedAt TEXT NOT NULL
);
-- Index for faster lookups
CREATE INDEX IF NOT EXISTS idx_machines_updatedAt ON machines(updatedAt);