- Via your terminal (i assume bash) start mysql console inside the container:
docker exec -i name_of_your_container mysql
In the mysql console:
use discourse;
DROP TRIGGER bookmarks.bookmarks_polymorphic_data;
Leave console with
exit
After that the update script can should be able to drop the column and things should run smoothly - fingers crossed.