Update seeds with more data
This commit is contained in:
parent
165d376294
commit
856f8c753d
@ -5,8 +5,8 @@ exports.seed = function(knex) {
|
||||
{
|
||||
"id": 1,
|
||||
"user_id": 1,
|
||||
"bed_time": "",
|
||||
"wake_time": "",
|
||||
"bed_time": "2019-07-05 22:10:25",
|
||||
"wake_time": "2019-07-06 07:10:25",
|
||||
"wake_mood": 3,
|
||||
"day_mood": 3,
|
||||
"bed_tiredness": 3
|
||||
@ -14,11 +14,83 @@ exports.seed = function(knex) {
|
||||
{
|
||||
"id": 2,
|
||||
"user_id": 1,
|
||||
"bed_time": "",
|
||||
"wake_time": "",
|
||||
"bed_time": "2019-07-06 23:50:25",
|
||||
"wake_time": "2019-07-07 07:30:25",
|
||||
"wake_mood": 4,
|
||||
"day_mood": 4,
|
||||
"bed_tiredness": 4
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-07 23:50:25",
|
||||
"wake_time": "2019-07-08 07:30:25",
|
||||
"wake_mood": 4,
|
||||
"day_mood": 4,
|
||||
"bed_tiredness": 4
|
||||
},
|
||||
{
|
||||
"id": 4,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-09 01:50:25",
|
||||
"wake_time": "2019-07-09 08:30:25",
|
||||
"wake_mood": 2,
|
||||
"day_mood": 3,
|
||||
"bed_tiredness": 4
|
||||
},
|
||||
{
|
||||
"id": 5,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-09 22:00:25",
|
||||
"wake_time": "2019-07-10 07:30:25",
|
||||
"wake_mood": 5,
|
||||
"day_mood": 3,
|
||||
"bed_tiredness": 4
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-10 23:00:25",
|
||||
"wake_time": "2019-07-11 06:30:25",
|
||||
"wake_mood": 3,
|
||||
"day_mood": 4,
|
||||
"bed_tiredness": 5
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-11 23:55:25",
|
||||
"wake_time": "2019-07-12 08:30:25",
|
||||
"wake_mood": 2,
|
||||
"day_mood": 3,
|
||||
"bed_tiredness": 3
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-12 23:05:25",
|
||||
"wake_time": "2019-07-13 07:30:25",
|
||||
"wake_mood": 4,
|
||||
"day_mood": 5,
|
||||
"bed_tiredness": 4
|
||||
},
|
||||
{
|
||||
"id": 9,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-14 00:15:25",
|
||||
"wake_time": "2019-07-14 06:30:25",
|
||||
"wake_mood": 1,
|
||||
"day_mood": 4,
|
||||
"bed_tiredness": 5
|
||||
},
|
||||
{
|
||||
"id": 10,
|
||||
"user_id": 1,
|
||||
"bed_time": "2019-07-14 21:15:25",
|
||||
"wake_time": "2019-07-15 08:30:25",
|
||||
"wake_mood": 5,
|
||||
"day_mood": 5,
|
||||
"bed_tiredness": 1
|
||||
}
|
||||
]);
|
||||
});
|
||||
|
Binary file not shown.
@ -4,7 +4,8 @@
|
||||
"description": "Backend server for Sleep Tracker, a web app tracking sleep time and mood in order to optimize your sleep time. ",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "test"
|
||||
"start": "node index.js",
|
||||
"test": "node test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user