Permalink
Browse files

Merge github.com:mino4071/CookieCart-2.0

  • Loading branch information...
2 parents 350eae6 + 6b520e7 commit d06ac706ddfc0f208445e366319818e2c4f056e4 Mino committed May 5, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/db.erl
View
5 src/db.erl
@@ -13,6 +13,11 @@
-include("records.hrl").
+reset() ->
+ mnesia:stop(),
+ mnesia:delete_schema([node()]),
+ start().
+
start()->
io:format("~n*******************~n" ++
" Starting mnesia~n" ++

0 comments on commit d06ac70

Please sign in to comment.