2019. 09. 21. 회의했던 데이터 구조 회의 내용입니다. 추가적으로 데이터 구조에 대해서 더 이야기 할 부분이 있다면 코멘트 부탁드립니다. # Timecat ## Database Structure ### Application |column name|type|options|description| |-|-|-|-| |id|integer|auto increment / primary key|| |path|string|not null|application path| |name|string|not null|application name| |icon|string|nullable|application icon path| |category_id|integer|nullable|foreign key `Category.id`| ### Log |column name|type|options|description| |-|-|-|-| |id|integer|auto increment / primary key|| |app_id|integer||foreign key `Application.id`| |event_time|datetime or timestamp||event log ocurred time| |action|enum {FOCUS, BLUR, OPEN, CLOSE, ACTIVE }||| ### Category |column name|type|options|description| |-|-|-|-| |id|integer|auto increment / primary key|| |name|string|unique / not null||| |color|string|not null|the label color|
추가적으로 데이터 구조에 대해서 더 이야기 할 부분이 있다면 코멘트 부탁드립니다.
Timecat
Database Structure
Application
Category.idLog
Application.idCategory