From c7b66d883fddb523a905a8c2dfc5e28b1895eac4 Mon Sep 17 00:00:00 2001 From: Mat Fish Date: Tue, 8 Aug 2023 13:42:22 +0300 Subject: [PATCH] readme --- CHANGELOG.md | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e1183ff..225a789 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # Release Notes for Element Meta ## 4.0.0 - 2023-07-30 -> {note} Breaking Change. See [README](https://github.com/matfish2/craft-entry-meta#version-4) for further information +> {note} Breaking Change. See [README](https://github.com/matfish2/craft-entry-meta#migrating-to-version-4) for further information ### Improved - Use a dedicated polymorphic table diff --git a/README.md b/README.md index bbfe8c7..65e12de 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ > Version 4 is now out using a dedicated polymorphic table. -> If you are migrating from version 3, please read the relevant section [here](#version-4) +> If you are migrating from version 3, please read the relevant section [here](#migrating-to-version-4) # Element Meta This package adds the ability to save schemaless metadata to all element types, including custom elements. @@ -156,7 +156,7 @@ Entry::find()->whereMetadata('foo.bar','baz')->orderByMetadata('foobar.baz'); By default metadata is rendered on the sidebar along with Craft's metadata (status, created at, updated at). You can disable this behaviour via the plugin settings page. -## Version 4 +## Migrating to version 4 Version 4 introduces an internal change to the way metadata is stored. Up until now metadata was saved to an additional `emMetadata` column on the respective tables (e.g `entries`). This was replaced in version 4 with a single polymorphic table that stores all metadata.