You are here

function bootstrap_tour_update_7001 in Bootstrap Tour 7

Add a "roles" column to the DB schema.

File

./bootstrap_tour.install, line 66

Code

function bootstrap_tour_update_7001(&$sandbox) {
  $roles = array(
    'type' => 'varchar',
    'length' => '255',
    'description' => 'A comma separated list of roles that can access this tour.',
  );
  db_add_field('bootstrap_tour', 'roles', $roles);
}