[erlang-questions] Minimum number of attributes in an mnesia table

Ben Hood 0x6e6562@REDACTED
Wed Jul 30 23:48:36 CEST 2008


This seems like a very stupid question, but why do you need to have a
minimum of two fields in table definition?

For example, if you try to create the following table

mnesia:create_table(binding,[{type,ordered_set},{attributes, [b]}]),

it returns


The apparent solution is to add a dummy field to the table definition.



More information about the erlang-questions mailing list