Created evolution to add extra_data field to ChangeDescription model

Review Request #12038 — Created Feb. 4, 2022 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

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 the extra_data field is added
successfully to the ChangeDescription model. I have attached the
screenshot to show that.

Diff Revision 2 (Latest)

orig
1
2

Commits

First Last Summary ID Author
Created evolution to add extra_data field to ChangeDescription model
bdb6a7d48f20b8a37a638ac5fcbaf3f0aaac9a92 sng06
Added module docstring to extra_data evolution file
e7c59310bd103aa5cb4302bba84ace5fdc1a3e41 sng06
reviewboard/changedescs/models.py
reviewboard/changedescs/evolutions/__init__.py
reviewboard/changedescs/evolutions/extra_data.py
Loading...