-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[connectors] Update Zendesk data model (#8850)
* fix: update the type of url in db to handle long ones * fix: remove unused columns groupId, assigneeId and organizationId * fix: update the type of Category's and Article's name to TEXT * 🚩 add migration script * Revert "fix: remove unused columns groupId, assigneeId and organizationId" This reverts commit d068f67. * 🚩 update the migration script without the drop
- Loading branch information
1 parent
568cb2f
commit 44f3f72
Showing
2 changed files
with
13 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
-- Migration created on Nov 22, 2024 | ||
ALTER TABLE "zendesk_brands" ALTER COLUMN "url" TYPE TEXT; | ||
ALTER TABLE "zendesk_categories" ALTER COLUMN "name" TYPE TEXT; | ||
ALTER TABLE "zendesk_categories" ALTER COLUMN "url" TYPE TEXT; | ||
ALTER TABLE "zendesk_articles" ALTER COLUMN "name" TYPE TEXT; | ||
ALTER TABLE "zendesk_articles" ALTER COLUMN "url" TYPE TEXT; | ||
ALTER TABLE "zendesk_tickets" ALTER COLUMN "url" TYPE TEXT; |
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