aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-10-14 14:07:20 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-10-14 14:07:20 +0200
commita8e3e940706ebc9f4a9a6a26ed2273d7f73f7905 (patch)
treebeaa0412de111bb50dcaf32bba246c6b8cbb0df0 /server
parent81de759a91c959d8e5fa1c88d5f44e1110d66d55 (diff)
downloaderlang-a8e3e940706ebc9f4a9a6a26ed2273d7f73f7905.tar.gz
erlang-a8e3e940706ebc9f4a9a6a26ed2273d7f73f7905.tar.xz
erlang-a8e3e940706ebc9f4a9a6a26ed2273d7f73f7905.zip
fix database creation
Diffstat (limited to '')
-rw-r--r--server/media.erl2
1 files changed, 1 insertions, 1 deletions
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().