Feat : Setup cloudflare worker for cloud endpoint
This commit is contained in:
parent
c68b875a36
commit
102c193112
25 changed files with 1739 additions and 82 deletions
9
cloud/migrations/0001_init.sql
Normal file
9
cloud/migrations/0001_init.sql
Normal 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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue