/** * Stored PDF of the PIS/ICF a physician consented to. * @param {import('knex').Knex} knex */ export async function up(knex) { await knex.schema.alterTable('consents', (table) => { table.string('consent_pdf_key', 512).nullable().after('answers'); }); } /** * @param {import('knex').Knex} knex */ export async function down(knex) { await knex.schema.alterTable('consents', (table) => { table.dropColumn('consent_pdf_key'); }); }