Commit Graph

1 Commits

Author SHA1 Message Date
Spencer Olson 0f9b0502c0 change default value for payload from string to hash literal
closes GRADE-1568

Test Plan:
1. Before running migrations, enter a rails console and check the
   default value for the payload for an AnonymousOrModerationEvent.
   Notice that it is "{}"

   AnonymousOrModerationEvent.new.payload
   => "{}"

2. Run migrations. Enter a rails console and check the default value
   for the payload for an AnonymousOrModerationEvent. Notice that it is
   {}.

   AnonymousOrModerationEvent.new.payload
   => {}

Change-Id: I96e2ef5cbf9f11134d9235e437cb41d4a97a4865
Reviewed-on: https://gerrit.instructure.com/163051
Reviewed-by: Jeremy Neander <jneander@instructure.com>
Reviewed-by: Adrian Packel <apackel@instructure.com>
Tested-by: Jenkins
QA-Review: Jeremy Neander <jneander@instructure.com>
Product-Review: Keith T. Garner <kgarner@instructure.com>
2018-09-05 16:35:20 +00:00