/** * {@inheritdoc} */ public function getFields() { $fields = parent::getFields(); $fields['type'] = array('type' => 'varchar', 'length' => 255, 'not null' => TRUE); $fields['parent'] = array('type' => 'varchar', 'length' => 255); return $fields; }
/** * {@inheritdoc} */ public function getFields() { $fields = parent::getFields(); $fields['type'] = array('type' => 'varchar', 'length' => 255, 'not null' => TRUE); $fields['has_logic'] = array('type' => 'int', 'size' => 'tiny', 'unsigned' => TRUE); return $fields; }