Created evolution to add extra_data field to ChangeDescription model
Review Request #12038 — Created Feb. 4, 2022 and updated
Information | |
---|---|
sheenaNg | |
Review Board | |
master | |
12051, 12050 | |
Reviewers | |
reviewboard | |
Created evolution file to add
extra_data
JSON field to
ChangeDescription model in order to pass in automate=True flag to
track the originator of the close action when review request is closed
by third-party repo services.
I have run
./manage.py evolve --execute
to apply the changes to the
database.Even though unit test is not required to test for a newly added field,
I did a quick sanity check if theextra_data
field is added
successfully to the ChangeDescription model. I have attached the
screenshot to show that.
Summary | Author |
---|---|
sng06 | |
sng06 |
Description | From | Last Updated |
---|---|---|
You can move the statement about running the evolution into the "testing done" field. |
|
|
Please wrap your description and testing done to 70 columns for easier readability. |
|
|
Let's add a module docstring to this (many old files don't have them, but any new files should have it … |
|
|
Test comment |
|
Change Summary:
Added screenshot to show the newly added field
Summary: |
|
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||
Testing Done: |
|
||||||||||||
Added Files: |
-
-
-
-
reviewboard/changedescs/evolutions/extra_data.py (Diff revision 1) Let's add a module docstring to this (many old files don't have them, but any new files should have it as the first line).
We also won't be needing
unicode_literals
on master going forward.
Change Summary:
Added module docstring to evolution file.
Description: |
|
||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Testing Done: |
|
||||||||||||||||||||||||
Commits: |
|
||||||||||||||||||||||||
Diff: |
Revision 2 (+27 -1) |