From a8e3e940706ebc9f4a9a6a26ed2273d7f73f7905 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 14 Oct 2010 14:07:20 +0200 Subject: fix database creation --- server/media.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/media.erl b/server/media.erl index 1957bdb..1edf3dc 100644 --- a/server/media.erl +++ b/server/media.erl @@ -19,7 +19,7 @@ init() -> mnesia:create_schema([node()]), mnesia:start(), - mnesia:create_table(track, [{index, [y]}, {attributes, record_info(fields, track)}]), + mnesia:create_table(track, [{attributes, record_info(fields, track)}]), read_files(filelib:wildcard(?TESTPATTERN),0,0), io:format("Initialisation of mnesia successful.\n"), start_playing(). -- cgit v1.2.3