text: exports.up = function(knex, Promise) {
    return knex.schema.createTable('documents', function(tbl) {
      // TODO: Create doc ids based on DocuSign
      tbl.increments();
  
      tbl.binary('document');
  
      tbl.string('envelope_id').unique();
  
      tbl.timestamp('created_at').defaultTo(knex.fn.now());
    });
  };
  
  exports.down = function(knex, Promise) {
    return knex.schema.dropTableIfExists('documents');
  };
  