Update routes and db

This commit is contained in:
Kevin Thomas
2021-08-03 00:27:00 -07:00
parent 5170a31355
commit 8796dc137b
4 changed files with 12 additions and 10 deletions

View File

@@ -11,19 +11,20 @@ module.exports = function () {
)
db.run(`CREATE TABLE IF NOT EXISTS profiles (
id INTEGER PRIMARY KEY,
name TEXT UNIQUE,
user INTEGER,
timer_enabled INTEGER,
timer_seconds INTEGER,
duration INTEGER,
volume INTEGER,
noise_color TEXT,
filter_enabled INTEGER,
filter_type TEXT,
filter_cutoff INTEGER,
filter_cutoff_lfo_enabled INTEGER,
filter_cutoff_lfo_rate REAL,
filter_cutoff_lfo_min INTEGER,
filter_cutoff_lfo_max INTEGER,
lfo_filter_cutoff_enabled INTEGER,
lfo_filter_cutoff_frequency REAL,
lfo_filter_cutoff_low INTEGER,
lfo_filter_cutoff_high INTEGER,
tremolo_enabled INTEGER,
tremolo_frequency REAL,
tremolo_depth REAL,