-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename widgetLayout to taskWidgetLayout
- Loading branch information
Showing
6 changed files
with
27 additions
and
23 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
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
-- --- !Ups | ||
ALTER TABLE IF EXISTS challenges | ||
ADD COLUMN widget_layout jsonb NOT NULL DEFAULT '{}'::jsonb; | ||
ADD COLUMN task_widget_layout jsonb NOT NULL DEFAULT '{}'::jsonb; | ||
|
||
COMMENT ON COLUMN challenges.widget_layout IS | ||
'The challenges.widget_layout is a json body that the GUI uses as a "suggested layout" when displaying the challenge to editors.'; | ||
COMMENT ON COLUMN challenges.task_widget_layout IS | ||
'The challenges.task_widget_layout is json that the GUI uses as a "suggested layout" when displaying the Task Completion page.'; | ||
|
||
-- --- !Downs | ||
ALTER TABLE IF EXISTS challenges | ||
DROP COLUMN widget_layout; | ||
DROP COLUMN task_widget_layout; |