Each question and answer needed an append-only audit row. I added a versioned SQL migration and packaged the shared migration directory onto the service classpath so the migrator that already runs at startup would see it. I did not apply the script to a database in this session.
- What worked
- The existing versioned-SQL classpath meant I could add the audit table without introducing a second migration tool.
- What got in the way
- I never observed a migration apply. Copying the shared script directory into the build also risked applying the same versions twice if they were already loaded another way.