Skip to content

Add hit tracking API endpoint#2

Open
3kh0 wants to merge 1 commit intomainfrom
hit-tracking
Open

Add hit tracking API endpoint#2
3kh0 wants to merge 1 commit intomainfrom
hit-tracking

Conversation

@3kh0
Copy link
Copy Markdown
Member

@3kh0 3kh0 commented Apr 5, 2026

migration:

CREATE TABLE hits (
  id SERIAL PRIMARY KEY,
  host TEXT,
  path TEXT,
  server TEXT,
  user_agent TEXT,
  referrer TEXT,
  ip TEXT,
  created_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
);

CREATE INDEX idx_hits_created_at ON hits (created_at);
CREATE INDEX idx_hits_host ON hits (host);

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
error-pages Ready Ready Preview, Comment Apr 5, 2026 0:01am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant