diff options
Diffstat (limited to 'database')
| -rw-r--r-- | database/db.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/database/db.js b/database/db.js index d641c2e..6c4889b 100644 --- a/database/db.js +++ b/database/db.js @@ -2,7 +2,7 @@ let init = function(db, config){ // Create the tables we need to store galleries and files - db.schema.createTableIfNotExists('gallery', function (table) { + db.schema.createTableIfNotExists('albums', function (table) { table.increments() table.string('name') table.timestamps() @@ -15,7 +15,7 @@ let init = function(db, config){ table.string('type') table.string('size') table.string('ip') - table.integer('galleryid') + table.integer('albumid') table.timestamps() }).then(() => {}) |