-- 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;
