aboutsummaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorkanadeko <[email protected]>2017-01-16 04:21:46 -0300
committerkanadeko <[email protected]>2017-01-16 04:21:46 -0300
commit55e2d17636ab9a7aa56338a353dc16f084637246 (patch)
treeffa01aef28c59b87bdaa6ed92d246ee9bba9f98e /database
parentMake all spacings consistent to all other files (diff)
downloadhost.fuwn.me-55e2d17636ab9a7aa56338a353dc16f084637246.tar.xz
host.fuwn.me-55e2d17636ab9a7aa56338a353dc16f084637246.zip
Admin panel, pomf-standarization and stuff
Diffstat (limited to 'database')
-rw-r--r--database/db.js5
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(() => {})
}