Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/digest-trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
greg-adams committed Oct 16, 2024
2 parents 3ce1e75 + ff63392 commit b578676
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.up = function (knex) {
return knex.schema.alterTable('grants', (table) => {
table.date('award_date');
table.date('forecast_creation_date');
table.date('fiscal_year');
table.text('grantor_contact_name');
table.text('grantor_contact_phone_number');
});
};

/**
* @param { import("knex").Knex } knex
* @returns { Promise<void> }
*/
exports.down = function (knex) {
return knex.schema.table('grants', (table) => {
table.dropColumn('award_date');
table.dropColumn('forecast_creation_date');
table.dropColumn('fiscal_year');
table.dropColumn('grantor_contact_name');
table.dropColumn('grantor_contact_phone_number');
});
};

0 comments on commit b578676

Please sign in to comment.