Skip to content

Commit

Permalink
Add a sql comment describing the purpose of challenges.widget_layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ljdelight committed Oct 15, 2023
1 parent 0ac6595 commit 11597d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion conf/evolutions/default/93.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
-- --- !Ups
ALTER TABLE IF EXISTS challenges
ADD COLUMN widget_layout jsonb NOT NULL DEFAULT '{}'::jsonb;
ADD COLUMN 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.';

-- --- !Downs
ALTER TABLE IF EXISTS challenges
Expand Down

0 comments on commit 11597d7

Please sign in to comment.