title: How to create a mnesia table with one column & read/write from/to there?
body: <pre><code>-record(ng, {ng}).
  
  mnesia:create_table(ng, [{type, set}, {attributes, record_info(fields, ng)}]).
  </code></pre>
  
  <p>I'm getting: {aborted,{bad_type,ng,{attributes,[ng]}}} error.</p>
  
  <p>What's wrong? How to create a mnesia table with one column(which is named)?</p>