You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Might not be watchtower specific. Seems like the whole db is wiped clean.
root@905a02639488:/app# rails db:migrate
W, [2021-10-29T16:34:43.090311 #8] WARN -- Skylight: [SKYLIGHT] [4.3.2] You are running in the uat environment but haven't added it to config.skylight.environments, so no data will be sent to Skylight servers.
I, [2021-10-29T16:34:43.710811 #8] INFO -- : Migrating to CreateUsers (20170714174108)
== 20170714174108 CreateUsers: migrating ======================================
-- create_table(:users, {})
-> 0.0582s
-- add_index(:users, :email, {:unique=>true})
-> 0.0247s
== 20170714174108 CreateUsers: migrated (0.0832s) =============================
Describe the bug
Migrations are not being run when Watchtower triggers an update to the container.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When a container is updated, run all migrations and precompile assets.
Additional context
This was an example of an error that was the result of not running a migration
Watchtower does have hooks for this purpose. Something about this is not working:
jupiter/docker-compose.production.yml
Line 64 in 0a08d0d
The text was updated successfully, but these errors were encountered: