nfp_sites/migrations/20210104150910_media.js

21 lines
500 B
JavaScript
Raw Normal View History

2021-01-04 17:47:59 +00:00
/* eslint-disable */
exports.up = function(knex) {
return Promise.all([
knex.schema.table('media', function(table) {
table.text('small_image_avif')
table.text('medium_image_avif')
table.text('large_image_avif')
})
])
};
exports.down = function(knex) {
return Promise.all([
knex.schema.table('media', function(table) {
table.dropColumn('small_image_avif')
table.dropColumn('medium_image_avif')
table.dropColumn('large_image_avif')
})
])
};