Add trigger to sql database

Is it possible to add a trigger to a database running in docker from script.

Thanks

Yes; either the same way you’d do it in the same database without Docker, or the same way you’d initialize a Docker-hosted database on first startup. At this level it’s “just a database” that happens to be running in Docker.

Thanks. I have sorted this now.