-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/backend-interaction-tracker' into dev
- Loading branch information
Showing
32 changed files
with
2,733 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/backend-elysia/drizzle/dev/0008_productive_zarek.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CREATE TYPE "public"."backend_interactions_tracker_source" AS ENUM('custom');--> statement-breakpoint | ||
CREATE TABLE "backend_interactions_tracker" ( | ||
"id" serial PRIMARY KEY NOT NULL, | ||
"product_id" "bytea" NOT NULL, | ||
"hook_signature_key" varchar NOT NULL, | ||
"created_at" timestamp DEFAULT now(), | ||
"source" "backend_interactions_tracker_source" DEFAULT 'custom' NOT NULL, | ||
CONSTRAINT "backend_interactions_tracker_product_id_unique" UNIQUE("product_id") | ||
); | ||
--> statement-breakpoint | ||
CREATE INDEX "unique_tracker_product_id" ON "backend_interactions_tracker" USING btree ("product_id"); |
Oops, something went wrong.