mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 13:21:45 +01:00
12 lines
299 B
JavaScript
12 lines
299 B
JavaScript
exports.up = function (knex) {
|
|
return knex.schema.alterTable('events', function (table) {
|
|
table.timestamp('deleted_at', { useTz: false }).nullable()
|
|
})
|
|
}
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable('events', function (table) {
|
|
table.dropColumn('deleted_at')
|
|
})
|
|
}
|