diff options
Diffstat (limited to 'database/db.js')
| -rw-r--r-- | database/db.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/database/db.js b/database/db.js index a7b1192..8dc62d0 100644 --- a/database/db.js +++ b/database/db.js @@ -11,7 +11,12 @@ let init = function(db){ db.schema.createTableIfNotExists('files', function (table) { table.increments() table.string('file') + table.string('original') + table.string('type') + table.string('size') + table.string('ip') table.integer('galleryid') + table.timestamps() }).then(() => {}) } |