Alter Mnesia Table

Jilani Khaldi jilani.khaldi@REDACTED
Mon Sep 1 23:24:21 CEST 2003


I have craeted a Mnesia database with a single table:

-record(persons, {code, f_name, l_name, address, home_page}).

and I have put in some records.
Now, I want to add  the field "e_mail ", in position 3 (just after l_name) 
and change "f_name" with "first_name" and delete the field "home_page".
I use alter table to make all these changes with an SQL RDBMD, but how to 
do it with Mnesia?

An other question: does Mnesia support referential integrity?




More information about the erlang-questions mailing list