better timestamps, adapt default config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-08-23 14:31:15 +02:00
parent 714110edb0
commit ade5b933d8
4 changed files with 26 additions and 13 deletions

View File

@ -22,9 +22,9 @@ async function create_app (knex) {
function create_log (index, simplex) {
const data = {
num1: faker.random.number (),
num2: simplex.noise2D (index * 0.1, 0),
num3: simplex.noise2D (index * 0.1, 1000)
light: faker.random.number (),
temperature: simplex.noise2D (index * 0.1, 0),
humidity: simplex.noise2D (index * 0.1, 1000)
};
return {
app_id: faker.random.arrayElement (apps),