Skip to content

Commit

Permalink
fix(core): remove ghost file uniq index migration (resolve #1017) (#1018
Browse files Browse the repository at this point in the history
)
  • Loading branch information
epaminond committed Oct 16, 2018
1 parent f57e4e5 commit d91ee40
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.

This file was deleted.

2 changes: 1 addition & 1 deletion packages/core/botpress/src/database/ghost.js
Expand Up @@ -11,6 +11,7 @@ module.exports = knex => {
table.increments('id')
table.string('folder')
table.string('file')
table.unique(['folder', 'file'])
table.text('content')
table.timestamp('modified_on').defaultTo(knex.fn.now())
})
Expand All @@ -21,7 +22,6 @@ module.exports = knex => {
table.string('revision')
table.timestamp('created_on').defaultTo(knex.fn.now())
table.string('created_by')
table.unique(['folder', 'file'])
})
)
}

0 comments on commit d91ee40

Please sign in to comment.