Skip to content

Commit 0d379e8

Browse files
author
Adriano Santos
committed
fix: create tables in prod
1 parent e262a9c commit 0d379e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spawn_statestores/statestores/lib/statestores/supervisor.ex

+3-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ defmodule Statestores.Supervisor do
3535
Statestores.Migrator.migrate(lookup_adapter)
3636

3737
_ ->
38-
nil
38+
# migrate via job in production (future release)
39+
Statestores.Migrator.migrate(snapshot_adapter)
40+
Statestores.Migrator.migrate(lookup_adapter)
3941
end
4042

4143
children =

0 commit comments

Comments
 (0)