This commit is contained in:
Kana 2018-04-04 19:38:15 -03:00 committed by GitHub
parent 91331e7947
commit 9d17bb284a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,8 @@ const db = require('knex')(config.database);
const migration = {}; const migration = {};
migration.start = async () => { migration.start = async () => {
await db.schema.table('albums', table => { await db.schema.table('albums', table => {
table.dateTime('editedAt'); table.integer('editedAt');
table.dateTime('zipGeneratedAt'); table.integer('zipGeneratedAt');
}); });
console.log('Migration finished! Now start lolisafe normally'); console.log('Migration finished! Now start lolisafe normally');
}; };