You are here

function patterns_update_7026 in Patterns 7

Add format field to {patterns} table.

File

./patterns.install, line 127

Code

function patterns_update_7026() {
  $spec = array(
    'type' => 'varchar',
    'length' => 10,
    'default' => '',
    'description' => 'Format of the patterns (XML, YAML, etc.).',
  );
  db_add_field('patterns', 'format', $spec);
}