mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-28 18:52:10 +01:00
10 lines
244 B
JavaScript
10 lines
244 B
JavaScript
exports.up = function (knex) {
|
|
return knex.raw('ALTER TABLE events ADD remote_address inet NULL;')
|
|
}
|
|
|
|
exports.down = function (knex) {
|
|
return knex.schema.alterTable('events', function (table) {
|
|
table.dropColumn('remote_address')
|
|
})
|
|
}
|