-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
schema: Require & use
citext
extension
- Loading branch information
1 parent
2b3ca42
commit a6cc99b
Showing
3 changed files
with
24 additions
and
11 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
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
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,13 @@ | ||
CREATE EXTENSION IF NOT EXISTS citext; | ||
|
||
ALTER TABLE contact | ||
ALTER COLUMN full_name TYPE citext, | ||
ALTER COLUMN username TYPE citext; | ||
|
||
ALTER TABLE contactgroup ALTER COLUMN name TYPE citext; | ||
ALTER TABLE schedule ALTER COLUMN name TYPE citext; | ||
ALTER TABLE channel ALTER COLUMN name TYPE citext; | ||
ALTER TABLE source ALTER COLUMN name TYPE citext; | ||
ALTER TABLE event ALTER COLUMN username TYPE citext; | ||
ALTER TABLE rule ALTER COLUMN name TYPE citext; | ||
ALTER TABLE rule_escalation ALTER COLUMN name TYPE citext; |