aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorkanadeko <[email protected]>2017-01-16 05:22:19 -0300
committerkanadeko <[email protected]>2017-01-16 05:22:19 -0300
commitf42202259d7d7eff8ae5f327ffdab9c0241a72da (patch)
treed1fcafc35edf46e1c587f7f55d7595ec7d211798 /database
parentLittle fix (diff)
downloadhost.fuwn.me-f42202259d7d7eff8ae5f327ffdab9c0241a72da.tar.xz
host.fuwn.me-f42202259d7d7eff8ae5f327ffdab9c0241a72da.zip
Changed upload from single file to array
Diffstat (limited to 'database')
-rw-r--r--database/db.js2
1 files changed, 1 insertions, 1 deletions
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')