Feat : Setup cloudflare worker for cloud endpoint
This commit is contained in:
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);
|
||||
Reference in New Issue
Block a user