mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-17 05:28:05 +00:00
Add framework for profiles endpoint
This commit is contained in:
@@ -12,6 +12,7 @@ module.exports = function () {
|
||||
|
||||
db.run(`CREATE TABLE IF NOT EXISTS profiles (
|
||||
name TEXT UNIQUE,
|
||||
user INTEGER,
|
||||
timer_enabled INTEGER,
|
||||
timer_seconds INTEGER,
|
||||
volume INTEGER,
|
||||
@@ -26,7 +27,6 @@ module.exports = function () {
|
||||
tremolo_enabled INTEGER,
|
||||
tremolo_frequency REAL,
|
||||
tremolo_depth REAL,
|
||||
user INTEGER,
|
||||
FOREIGN KEY(user) REFERENCES user(id))`
|
||||
)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user