Created evolution to add extra_data field to ChangeDescription model
Review Request #12038 — Created Feb. 4, 2022 and updated
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 | ID | Author |
---|---|---|
bdb6a7d48f20b8a37a638ac5fcbaf3f0aaac9a92 | sng06 | |
e7c59310bd103aa5cb4302bba84ace5fdc1a3e41 | sng06 |
Description | From | Last Updated |
---|---|---|
You can move the statement about running the evolution into the "testing done" field. |
david | |
Please wrap your description and testing done to 70 columns for easier readability. |
david | |
Let's add a module docstring to this (many old files don't have them, but any new files should have it … |
david | |
Test comment |
vilavivida |
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) |