-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
75ba3a8
commit c3caed6
Showing
6 changed files
with
9 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
ALTER TABLE "verify_settings" RENAME COLUMN "join_ch" TO "welcome_channel";--> statement-breakpoint | ||
ALTER TABLE "verify_settings" RENAME COLUMN "autogreet" TO "create_greeting";--> statement-breakpoint | ||
ALTER TABLE "verify_settings" ALTER COLUMN "welcome_channel" DROP NOT NULL;--> statement-breakpoint | ||
ALTER TABLE "verify_settings" ADD COLUMN "type" varchar NOT NULL; | ||
ALTER TABLE "verify_settings" ADD COLUMN "type" varchar NOT NULL DEFAULT 'message'; |
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 |
---|---|---|
@@ -1,2 +1 @@ | ||
ALTER TABLE "verify_settings" ALTER COLUMN "type" SET DEFAULT 'message'; | ||
UPDATE "verify_settings" SET "type"='message'; | ||
ALTER TABLE "verify_settings" ALTER COLUMN "type" SET DEFAULT 'message'; |
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 |
---|---|---|
@@ -1 +0,0 @@ | ||
ALTER TABLE "verify_settings" ADD PRIMARY KEY ("gid"); | ||
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