16 lines
531 B
JavaScript
16 lines
531 B
JavaScript
/** Add TM email and mobile columns used by the 18 Nov 2026 doctor CSV. */
|
|
export async function up(knex) {
|
|
await knex.schema.alterTable('pppaimt_doctors', (table) => {
|
|
table.string('tm_mail_id', 255).nullable().after('tm_name');
|
|
table.string('tm_mobile', 64).nullable().after('tm_mail_id');
|
|
});
|
|
}
|
|
|
|
/** Remove TM email and mobile columns. */
|
|
export async function down(knex) {
|
|
await knex.schema.alterTable('pppaimt_doctors', (table) => {
|
|
table.dropColumn('tm_mail_id');
|
|
table.dropColumn('tm_mobile');
|
|
});
|
|
}
|