🎉 Initial commit

This commit is contained in:
2025-10-05 17:58:56 +02:00
commit 0d801609a3
12 changed files with 2122 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
-- Your SQL goes here
CREATE TABLE "trackers"
(
"id" UUID PRIMARY KEY NOT NULL UNIQUE,
"created_at" TIMESTAMP NOT NULL
);
CREATE TABLE "hits"
(
"id" UUID PRIMARY KEY NOT NULL UNIQUE,
"tracker_id" UUID REFERENCES trackers (id) NOT NULL,
"ip" TEXT NOT NULL,
"agent" TEXT,
"language" TEXT,
"created_at" TIMESTAMP NOT NULL
);