You are here

function uc_csv_update_7203 in Ubercart CSV 7.2

Add a field for the type of file to be exported with a report

File

./uc_csv.install, line 89
This defines our schema for the module

Code

function uc_csv_update_7203() {
  db_add_field('uc_csv_reports', 'file_type', array(
    'description' => 'The type of file to be exported',
    'type' => 'varchar',
    'length' => 8,
    'not null' => TRUE,
    'default' => 'csv',
  ));
}