You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20210527174416_create_response_keys_table.js 584B

1234567891011121314151617
  1. exports.up = function (knex) {
  2. return knex.schema.createTable('response_keys', function (table) {
  3. table.increments('response_key_id').primary()
  4. table.string('response_key_category').notNullable()
  5. table.string('response_key_prompt')
  6. table.string('response_key_description')
  7. table.string('aspect')
  8. table.string('category')
  9. table.string('survey_stage')
  10. table.string('placeholder')
  11. table.string('invalidInputPrompt')
  12. })
  13. }
  14. exports.down = function (knex) {
  15. return knex.schema.dropTable('response_keys')
  16. }