Skip to content

Commit

Permalink
feat: implement campaign redirect url
Browse files Browse the repository at this point in the history
  • Loading branch information
conradbekondo committed Jan 16, 2025
1 parent 115e752 commit d9da36e
Show file tree
Hide file tree
Showing 25 changed files with 4,592 additions and 93 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/qodana_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ on:
push:
branches: # Specify your branches here
- master # The 'main' branch
- 'releases/*' # The release branches
- f/*
- b/*
- next
- 'r/*' # The release branches

jobs:
qodana:
Expand Down
1 change: 1 addition & 0 deletions db/migrations/0023_dusty_stephen_strange.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE "campaigns" ADD COLUMN "redirect_url" varchar(500) NOT NULL;
2 changes: 2 additions & 0 deletions db/migrations/0024_blue_nick_fury.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP VIEW "public"."vw_refresh_tokens";--> statement-breakpoint
CREATE VIEW "public"."vw_refresh_tokens" AS (select (now()::TIMESTAMP > ("created_at" + "window")::TIMESTAMP)::BOOLEAN OR "revoked_by" IS NOT NULL as "is_expired", ("created_at" + "window")::TIMESTAMP as "expires", "revoked_by", "replaced_by", "created_at", "access_token", "ip", "user", "token", "id" from "refresh_tokens");
2 changes: 2 additions & 0 deletions db/migrations/0025_redundant_swarm.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
DROP VIEW "public"."vw_access_tokens";--> statement-breakpoint
CREATE VIEW "public"."vw_access_tokens" AS (select "user", (now() > ("created_at" + "window")::TIMESTAMP)::BOOLEAN OR revoked_at IS NOT NULL OR replaced_by IS NOT NULL as "is_expired", (created_at + "window")::TIMESTAMP as "expires_at", "created_at", "ip", "id" from "access_tokens");
Loading

0 comments on commit d9da36e

Please sign in to comment.