i ran into this error while generating migrations;
mix ash_postgres.generate_migrations --name add_knowledge_base_tables ─╯
** (KeyError) key :source not found in: nil
If you are using the dot syntax, such as map.field, make sure the left-hand side of the dot is a map
(ash_postgres 2.5.19) lib/migration_generator/migration_generator.ex:2942: anonymous fn/2 in AshPostgres.MigrationGenerator.check_constraints/1
(elixir 1.18.3) lib/enum.ex:1714: Enum."-map/2-lists^map/1-1-"/2
(ash_postgres 2.5.19) lib/migration_generator/migration_generator.ex:2937: anonymous fn/2 in AshPostgres.MigrationGenerator.check_constraints/1
(elixir 1.18.3) lib/enum.ex:1714: Enum."-map/2-lists^map/1-1-"/2
(ash_postgres 2.5.19) lib/migration_generator/migration_generator.ex:2889: AshPostgres.MigrationGenerator.do_snapshot/3
(ash_postgres 2.5.19) lib/migration_generator/migration_generator.ex:2879: AshPostgres.MigrationGenerator.get_snapshots/2
(elixir 1.18.3) lib/enum.ex:4442: Enum.flat_map_list/2
(elixir 1.18.3) lib/enum.ex:4445: Enum.flat_map_list/2
this is the link to my github code; https://github.com/johnsseruwagi/travelix
@kamaroly and @zachdaniel