only automigrate in prod env
This commit is contained in:
		| @@ -21,6 +21,8 @@ config :cannery, CanneryWeb.Endpoint, | ||||
|   live_view: [signing_salt: "zOLgd3lr"], | ||||
|   registration: System.get_env("REGISTRATION") || "invite" | ||||
|  | ||||
| config :cannery, Cannery.Application, automigrate: false | ||||
|  | ||||
| config :cannery, :generators, | ||||
|   migration: true, | ||||
|   binary_id: true, | ||||
|   | ||||
| @@ -15,6 +15,8 @@ config :cannery, Cannery.Repo, | ||||
|   url: "ecto://postgres:postgres@localhost/cannery", | ||||
|   pool_size: 10 | ||||
|  | ||||
| config :cannery, Cannery.Application, automigrate: true | ||||
|  | ||||
| # Do not print debug messages in production | ||||
| config :logger, level: :info | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user