Jason: Remove by now superfluous jason_types file
authorlain <lain@soykaf.club>
Fri, 18 Dec 2020 16:44:19 +0000 (17:44 +0100)
committerlain <lain@soykaf.club>
Fri, 18 Dec 2020 16:44:19 +0000 (17:44 +0100)
config/config.exs
lib/jason_types.ex [deleted file]

index c7ac0d22c28293b8b55c6caa4af8c2b233efb8cd..77a1e606e6d003e4c12dbc1e2597fdcc9782001a 100644 (file)
@@ -47,7 +47,6 @@ use Mix.Config
 config :pleroma, ecto_repos: [Pleroma.Repo]
 
 config :pleroma, Pleroma.Repo,
-  types: Pleroma.PostgresTypes,
   telemetry_event: [Pleroma.Repo.Instrumenter],
   migration_lock: nil
 
diff --git a/lib/jason_types.ex b/lib/jason_types.ex
deleted file mode 100644 (file)
index f1fdc96..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-# Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
-# SPDX-License-Identifier: AGPL-3.0-only
-
-Postgrex.Types.define(
-  Pleroma.PostgresTypes,
-  [] ++ Ecto.Adapters.Postgres.extensions(),
-  json: Jason
-)