mirror of
https://github.com/UzixLS/migresia.git
synced 2025-07-19 07:11:28 +03:00
Read mnesia nodes from the mnesia schema
This commit is contained in:
@ -21,10 +21,4 @@ execute_up({Module, Short}) ->
|
||||
io:format(" => done~n", []).
|
||||
|
||||
list_nodes() ->
|
||||
Node = node(),
|
||||
if Node == nonode@nohost ->
|
||||
io:format("Warning: Erlang doesn't seem to be running in distributed mode.~n", []);
|
||||
true ->
|
||||
ok
|
||||
end,
|
||||
[Node].
|
||||
mnesia:table_info(schema, disc_copies).
|
||||
|
Reference in New Issue
Block a user