Starting DB implementation.

Added Makefile, id_counter.erl, and yaws.conf.
Created ts_common module. Will contain common DB code. So far only list/3.
Created ts_timeline module. DB code for storing timeline entries.
Created ts_entry module, DB code for storing timelin entries.
This commit is contained in:
Jonathan Bernard
2011-01-28 06:49:47 -06:00
parent 111da51c73
commit 495336fc58
7 changed files with 165 additions and 0 deletions

12
src/ts_db_records.hrl Normal file
View File

@ -0,0 +1,12 @@
-record(ts_timeline, {
ref, % {username, timelineid}
created,% {{year, month, day}, {hour, minute, second}}
desc
}).
-record(ts_entry, {
ref, % {username, timelineid, eventid}
timestamp, % {{year, month, day}, {hour, minute, second}}
mark, % String description of entry
notes % String with further notes about the entry
}).