aboutsummaryrefslogtreecommitdiff
path: root/database/db.js
diff options
context:
space:
mode:
authorPitu <[email protected]>2017-01-18 05:06:53 -0300
committerPitu <[email protected]>2017-01-18 05:06:53 -0300
commit49a4e68a4a1981991b6466c92df25eb56e85abf2 (patch)
treecac64b5230305dd9425cb009ae83b36f2073bb70 /database/db.js
parentAdded changing of tokens from the dashboard (diff)
downloadhost.fuwn.me-49a4e68a4a1981991b6466c92df25eb56e85abf2.tar.xz
host.fuwn.me-49a4e68a4a1981991b6466c92df25eb56e85abf2.zip
Added enabled flag to albums on database
Diffstat (limited to 'database/db.js')
-rw-r--r--database/db.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/database/db.js b/database/db.js
index b22ce51..dde0259 100644
--- a/database/db.js
+++ b/database/db.js
@@ -5,6 +5,7 @@ let init = function(db, config){
db.schema.createTableIfNotExists('albums', function (table) {
table.increments()
table.string('name')
+ table.integer('enabled')
table.integer('timestamp')
}).then(() => {})