wikijs-fork/server/db/beta/migrations-sqlite/2.0.0-beta.99.js

13 lines
256 B
JavaScript
Raw Permalink Normal View History

exports.up = knex => {
return knex.schema
.createTable('assetData', table => {
table.integer('id').primary()
table.binary('data').notNullable()
})
}
exports.down = knex => {
return knex.schema
.dropTableIfExists('assetData')
}