Skip to content

Instantly share code, notes, and snippets.

@chiabi
Last active May 28, 2018 07:24
Show Gist options
  • Save chiabi/0799b288a17605f91fac528c053471bd to your computer and use it in GitHub Desktop.
Save chiabi/0799b288a17605f91fac528c053471bd to your computer and use it in GitHub Desktop.

Revisions

  1. chiabi revised this gist May 28, 2018. 1 changed file with 10 additions and 6 deletions.
    16 changes: 10 additions & 6 deletions db.default.json
    Original file line number Diff line number Diff line change
    @@ -12,29 +12,33 @@
    "title": "project name"
    }
    ],
    "works": [
    "tasks": [
    {
    "id": 1,
    "userId": 1,
    "projectId": 1,
    "labelId": 1,
    "title": "work title",
    "body": "work body",
    "complete": false
    "title": "task title",
    "body": "task body",
    "complete": false,
    "startDate": "2018-05-27",
    "dueDate": "2018-05-28"
    }
    ],
    "activities": [
    {
    "id": 1,
    "userId": 1,
    "workId": 1,
    "body": "comments"
    "taskId": 1,
    "body": "comments",
    "logDate": "2018-05-27"
    }
    ],
    "labels": [
    {
    "id": 1,
    "userId": 1,
    "color": "red",
    "body": "label"
    }
    ]
  2. chiabi revised this gist May 27, 2018. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion db.default.json
    Original file line number Diff line number Diff line change
    @@ -19,7 +19,8 @@
    "projectId": 1,
    "labelId": 1,
    "title": "work title",
    "body": "work body"
    "body": "work body",
    "complete": false
    }
    ],
    "activities": [
  3. chiabi created this gist May 27, 2018.
    40 changes: 40 additions & 0 deletions db.default.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    {
    "users": [
    {
    "id": 1,
    "username": "fds"
    }
    ],
    "projects": [
    {
    "id": 1,
    "userId": 1,
    "title": "project name"
    }
    ],
    "works": [
    {
    "id": 1,
    "userId": 1,
    "projectId": 1,
    "labelId": 1,
    "title": "work title",
    "body": "work body"
    }
    ],
    "activities": [
    {
    "id": 1,
    "userId": 1,
    "workId": 1,
    "body": "comments"
    }
    ],
    "labels": [
    {
    "id": 1,
    "userId": 1,
    "body": "label"
    }
    ]
    }