19 lines
489 B
JavaScript
19 lines
489 B
JavaScript
/**
|
|
* Optional cancelled-cheque image key on applications (bank verification).
|
|
* @param {import('knex').Knex} knex
|
|
*/
|
|
export async function up(knex) {
|
|
await knex.schema.alterTable('applications', (table) => {
|
|
table.string('cancelled_cheque_key', 512).nullable().after('ifsc');
|
|
});
|
|
}
|
|
|
|
/**
|
|
* @param {import('knex').Knex} knex
|
|
*/
|
|
export async function down(knex) {
|
|
await knex.schema.alterTable('applications', (table) => {
|
|
table.dropColumn('cancelled_cheque_key');
|
|
});
|
|
}
|