function fillpdf_update_6003 in FillPDF 6
The people have spoken. Improve PostgreSQL support, at last.
File
- ./
fillpdf.install, line 64 - Install
Code
function fillpdf_update_6003() {
$ret = array();
db_drop_primary_key($ret, 'fillpdf_forms');
db_change_field($ret, 'fillpdf_forms', 'fid', 'fid', array(
'type' => 'serial',
'not null' => TRUE,
), array(
'primary key' => array(
'fid',
),
));
db_drop_primary_key($ret, 'fillpdf_fields');
db_change_field($ret, 'fillpdf_fields', 'fid', 'fid', array(
'type' => 'int',
'not null' => TRUE,
), array(
'primary key' => array(
'fid',
'pdf_key',
),
));
return $ret;
}