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:
12
src/ts_db_records.hrl
Normal file
12
src/ts_db_records.hrl
Normal 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
|
||||
}).
|
Reference in New Issue
Block a user