You are here

function tablefield_update_8001 in TableField 8.2

Add columns for caption field to the database.

File

./tablefield.install, line 11
Installation options for TableField.

Code

function tablefield_update_8001() {
  tablefield_add_new_column('caption', [
    'type' => 'varchar',
    'length' => 255,
    'default' => '',
    'not null' => TRUE,
  ]);
}