chore: server-and-serverless template

This commit is contained in:
e2e
2026-06-26 16:18:38 +02:00
commit 6f73dd63b5
202 changed files with 9060 additions and 0 deletions

10
db/sqlite-test-seed.sql Normal file
View File

@@ -0,0 +1,10 @@
-- Test-only seed: inserts a minimal user row so updateMessage's inner join
-- on (user.id = messageState.updatedByUserId) resolves. This file is only
-- used by the function-tests harness (never in the sandbox or production).
INSERT INTO "user" (id, name, email, email_verified, created_at, updated_at)
VALUES ('user-001', 'Test User', 'test@example.com', 1, datetime('now'), datetime('now'))
ON CONFLICT (id) DO NOTHING;
INSERT INTO message_state (id, message)
VALUES (1, 'Hello from Starter')
ON CONFLICT (id) DO NOTHING;