Begin database module
This commit is contained in:
parent
26e3428fa8
commit
6c8607bbc5
|
@ -0,0 +1,14 @@
|
||||||
|
'use strict'
|
||||||
|
|
||||||
|
const os = require('os')
|
||||||
|
const sqlite3 = require('sqlite3')
|
||||||
|
const squel = require('squel')
|
||||||
|
|
||||||
|
const actionTable = `CREATE TABLE IF NOT EXISTS actions (
|
||||||
|
time INTEGER PRIMARY KEY,
|
||||||
|
type TEXT,
|
||||||
|
length INTEGER,
|
||||||
|
counter INTEGER,
|
||||||
|
light TEXT
|
||||||
|
|
||||||
|
);`
|
Loading…
Reference in New Issue