Drop index for 'local', it confuses the query planner.
[akkoma] / config / config.exs
index bd714a189bd45a999e96cd0afec6d2e2b6629534..a7429fcdfcd4ba4d6a0898b5aef4bd166e1924cc 100644 (file)
@@ -9,6 +9,9 @@ use Mix.Config
 config :pleroma,
   ecto_repos: [Pleroma.Repo]
 
+config :pleroma, Pleroma.Repo,
+  types: Pleroma.PostgresTypes
+
 config :pleroma, Pleroma.Upload,
   uploads: "uploads"
 
@@ -61,6 +64,11 @@ config :pleroma, :media_proxy,
 config :pleroma, :chat,
   enabled: true
 
+config :ecto, json_library: Jason
+
+config :phoenix, :format_encoders,
+  json: Jason
+
 # Import environment specific config. This must remain at the bottom
 # of this file so it overrides the configuration defined above.
 import_config "#{Mix.env}.exs"