From f42202259d7d7eff8ae5f327ffdab9c0241a72da Mon Sep 17 00:00:00 2001 From: kanadeko Date: Mon, 16 Jan 2017 05:22:19 -0300 Subject: Changed upload from single file to array --- database/db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'database') diff --git a/database/db.js b/database/db.js index 2dc2005..d641c2e 100644 --- a/database/db.js +++ b/database/db.js @@ -10,7 +10,7 @@ let init = function(db, config){ db.schema.createTableIfNotExists('files', function (table) { table.increments() - table.string('file') + table.string('name') table.string('original') table.string('type') table.string('size') -- cgit v1.2.3