From 114cfbdf94c08665d74bca3e0d0a585f88cfad90 Mon Sep 17 00:00:00 2001 From: Andrea Leopardi Date: Wed, 26 Jul 2023 18:30:17 +0200 Subject: [PATCH] Update README.md Co-authored-by: Tommaso Pavese --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 228dbdc7..cf795ee1 100644 --- a/README.md +++ b/README.md @@ -596,7 +596,7 @@ config :fun_with_flags, :persistence, repo: MyApp.Repo, ecto_table_name: "your_table_name", # optional, defaults to "fun_with_flags_toggles" ecto_primary_key_type: :binary_id # optional, defaults to :id - # For the primary key type, see also: https://hexdocs.pm/ecto/Ecto.Schema.html#module-schema-attributes + # For the primary key type, see also: https://hexdocs.pm/ecto/3.10.3/Ecto.Schema.html#module-schema-attributes ``` It's also necessary to create the DB table that will hold the feature flag data. To do that, [create a new migration](https://hexdocs.pm/ecto_sql/Mix.Tasks.Ecto.Gen.Migration.html) in your project and copy the contents of [the provided migration file](https://github.com/tompave/fun_with_flags/blob/master/priv/ecto_repo/migrations/00000000000000_create_feature_flags_table.exs). Then [run the migration](https://hexdocs.pm/ecto_sql/Mix.Tasks.Ecto.Migrate.html).