Fixes test cases

This commit is contained in:
Chris Anderson 2023-02-25 19:24:11 -06:00
parent 7544eb1ba8
commit b2e8526064

View file

@ -50,6 +50,12 @@ exports.up = function(knex) {
.table('users', function(table) {
table.string('timezone', 50).after('devices')
})
.table('providers', function(table) {
table.renameColumn('name', 'type')
})
.table('providers', function(table) {
table.string('name', 255)
})
}
exports.down = function(knex) {
@ -73,4 +79,8 @@ exports.down = function(knex) {
table.dropColumn('locale')
table.dropColumn('campaign_id')
})
.table('providers', function(table) {
table.dropColumn('name')
table.renameColumn('type', 'name')
})
}