Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config for unsubscribe page (Depends on: https://github.com/vivid-planet/comet-brevo-module/pull/114) #117

Open
wants to merge 18 commits into
base: next
Choose a base branch
from

Conversation

juliawegmayr
Copy link
Contributor

@juliawegmayr juliawegmayr commented Oct 24, 2024

Description

Add unsubscribePageId to BrevoConfig

Screenshots/screencasts

Changeset

[ ] I have verified if my change requires a changeset

Related tasks and documents

COM-1191

Open TODOs/questions

  • Merge parent PR

Further information

Depends on: #114

@juliawegmayr juliawegmayr self-assigned this Nov 19, 2024
@thomasdax98 thomasdax98 added this to the v3 milestone Dec 17, 2024
@juliawegmayr juliawegmayr force-pushed the config-for-unsubscribe-page branch from bdfafc9 to 7646ad4 Compare December 30, 2024 10:23
@juliawegmayr juliawegmayr changed the base branch from main to next December 30, 2024 10:23
@juliawegmayr juliawegmayr changed the title Config for unsubscribe page Config for unsubscribe page (Depends on: https://github.com/vivid-planet/comet-brevo-module/pull/114) Dec 30, 2024
@juliawegmayr juliawegmayr force-pushed the config-for-unsubscribe-page branch from 7646ad4 to b7bb3d9 Compare December 30, 2024 11:25
@juliawegmayr juliawegmayr marked this pull request as ready for review December 30, 2024 11:28
@auto-assign auto-assign bot requested a review from raphaelblum December 30, 2024 11:28

export class Migration20241024075236 extends Migration {
async up(): Promise<void> {
this.addSql('alter table "EmailCampaign" add column "unsubscriptionPageId" text null;');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would put the Migration files all in one file when it's in one MR.

@@ -76,6 +77,10 @@ export function createEmailCampaignEntity({
@Field(() => Date, { nullable: true })
scheduledAt?: Date;

@Property({ columnType: "text", nullable: true })
@Field(() => String, { nullable: true })
unsubscriptionPageId: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to save the unsubscriptionPageId in the EmailCampaign?

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.

3 participants