You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
481 B
JavaScript
22 lines
481 B
JavaScript
module.exports.up = async (knex) => {
|
|
await knex.schema.table('user_account', (table) => {
|
|
table.text('sso_id');
|
|
table.text('sso_name');
|
|
});
|
|
|
|
await knex.schema.table('session', (table) => {
|
|
table.text('sso_id');
|
|
});
|
|
};
|
|
|
|
module.exports.down = (knex) => {
|
|
knex.schema.table('user_account', (table) => {
|
|
table.dropColumn('sso_id');
|
|
table.dropColumn('sso_name');
|
|
});
|
|
|
|
knex.schema.table('session', (table) => {
|
|
table.dropColumn('sso_id');
|
|
});
|
|
};
|