Skip to content

Commit

Permalink
feat: settings page done
Browse files Browse the repository at this point in the history
  • Loading branch information
conradbekondo committed Jan 9, 2025
1 parent d49bd44 commit ca2be4d
Show file tree
Hide file tree
Showing 26 changed files with 1,382 additions and 68 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branch-deploys.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ jobs:
- name: Migrate Database Schema
run: pnpm migrate.staging
- name: Build ⚙️ & Deploy ⬆️
run: netlify deploy --alias="next" --build --context branch-deploy --message="${{ github.event.head_commit.message }}"
run: netlify deploy --alias="staging" --build --context branch-deploy --message="${{ github.event.head_commit.message }}"
12 changes: 12 additions & 0 deletions db/migrations/0020_steep_azazel.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
ALTER TABLE "campaign_publications" DROP CONSTRAINT "campaign_publications_campaign_campaigns_id_fk";
--> statement-breakpoint
ALTER TABLE "campaigns" DROP CONSTRAINT "campaigns_created_by_users_id_fk";
--> statement-breakpoint
ALTER TABLE "payment_methods" DROP CONSTRAINT "payment_methods_owner_users_id_fk";
--> statement-breakpoint
ALTER TABLE "wallets" DROP CONSTRAINT "wallets_owned_by_users_id_fk";
--> statement-breakpoint
ALTER TABLE "campaign_publications" ADD CONSTRAINT "campaign_publications_campaign_campaigns_id_fk" FOREIGN KEY ("campaign") REFERENCES "public"."campaigns"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "campaigns" ADD CONSTRAINT "campaigns_created_by_users_id_fk" FOREIGN KEY ("created_by") REFERENCES "public"."users"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "payment_methods" ADD CONSTRAINT "payment_methods_owner_users_id_fk" FOREIGN KEY ("owner") REFERENCES "public"."users"("id") ON DELETE no action ON UPDATE no action;--> statement-breakpoint
ALTER TABLE "wallets" ADD CONSTRAINT "wallets_owned_by_users_id_fk" FOREIGN KEY ("owned_by") REFERENCES "public"."users"("id") ON DELETE no action ON UPDATE no action;
Loading

0 comments on commit ca2be4d

Please sign in to comment.