diff options
| author | kanadeko <[email protected]> | 2017-01-16 05:22:19 -0300 |
|---|---|---|
| committer | kanadeko <[email protected]> | 2017-01-16 05:22:19 -0300 |
| commit | f42202259d7d7eff8ae5f327ffdab9c0241a72da (patch) | |
| tree | d1fcafc35edf46e1c587f7f55d7595ec7d211798 /database | |
| parent | Little fix (diff) | |
| download | host.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.js | 2 |
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') |