timestamper/src/ts_db_records.hrl

32 lines
571 B
Erlang
Raw Normal View History

-record(ts_user, {
username,
pwd,
pwd_salt,
name,
email,
join_date
}).
-record(ts_timeline, {
ref, % {username, timelineid}
created,% {{year, month, day}, {hour, minute, second}}
desc
}).
-record(ts_entry, {
ref, % {username, timelineid, entryid}
timestamp, % gregorian seconds
mark, % String description of entry
notes % String with further notes about the entry
}).
-record(ts_api_session, {
username,
expires
}).
%-record(ts_session, {
%session_id,
%expires,
%username