From df886f6e94d59d00e4e55748a1a990f834eb3aff Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 28 Mar 2022 15:44:40 +0200 Subject: [PATCH] Add Binary behavior (for PostgreSQL) --- library/Icingadb/Model/Behavior/Binary.php | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 library/Icingadb/Model/Behavior/Binary.php diff --git a/library/Icingadb/Model/Behavior/Binary.php b/library/Icingadb/Model/Behavior/Binary.php new file mode 100644 index 00000000..2f9d6593 --- /dev/null +++ b/library/Icingadb/Model/Behavior/Binary.php @@ -0,0 +1,47 @@ +getDb()->getAdapter() instanceof Pgsql) { + // Only process properties if the adapter is PostgreSQL. + $this->properties = []; + } + } +}