Amnesia problems and workarounds

For now I do not have any problems with mnesia itself, but amnesia have few really weird warnings which just should not appear. I have created an ignore file with such content:

[
  {"lib/my_app/database.ex"},
  {":0:unknown_type Unknown type: Amnesia.o/0."},
  {":0:unknown_type Unknown type: Amnesia.Table.Selection.t/0."},
  {":0:unknown_type Unknown type: Amnesia.Table.Stream.t/0."},
  {":0:unknown_type Unknown type: Selection.t/0."}
]

I will simply keep this configuration until amnesia developers would solve dialyzer warnings. With such file I do not have any errors.

Note: Of course I have no extra @spec declarations in lib/my_app/database.ex.