Преглед на файлове

Added enabled flag to albums on database

Pitu преди 8 години
родител
ревизия
49a4e68a4a
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      database/db.js

+ 1 - 0
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(() => {})