Skip to content

Commit

Permalink
Update 1723644478176-webhookSourceChannel.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Puyodead1 authored Aug 14, 2024
1 parent 52d2821 commit dcffccb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class WebhookSourceChannel1723644478176 implements MigrationInterface {

public async up(queryRunner: QueryRunner): Promise<void> {
await queryRunner.query(
"ALTER TABLE webhooks ADD COLUMN source_channel_id VARCHAR(255) NULL DEFAULT NULL AFTER source_guild_id",
"ALTER TABLE webhooks ADD COLUMN source_channel_id VARCHAR(255) NULL DEFAULT NULL",
);
await queryRunner.query(
"ALTER TABLE webhooks ADD CONSTRAINT FK_d64f38834fa676f6caa4786ddd6 FOREIGN KEY (source_channel_id) REFERENCES channels (id) ON UPDATE NO ACTION ON DELETE CASCADE",
Expand Down

0 comments on commit dcffccb

Please sign in to comment.