I have a database migrated from ojs2.4 to ojs3.0.2
When I migrated version from 3.0.2 to master ojs-stable-3_1_1 with the last commit:
([master] Merge pull request #1932 from bozana/3619)
I checked the tables with my backup and I can confirm this tables are not in my migration.
article_gallery_settings
gifts
submission_html_gallery_images
I compared master and branch ojs-stable-3_0_2 and I searched in “File changes” the name of table “submission_html_galley_images”
I found this in this file: “dbscripts/xml/upgrade.xml”