commerce_addressbook.install in Commerce Addressbook 7
File
commerce_addressbook.install
View source
<?php
function commerce_addressbook_field_schema($field) {
if ($field['type'] == 'commerce_addressbook_saved_profiles') {
return array(
'columns' => array(
'saved_address_profiles' => array(
'description' => 'Reference to the saved address profile',
'type' => 'int',
'not null' => FALSE,
'default' => NULL,
),
),
'indexes' => array(
'saved_address_profiles' => array(
'saved_address_profiles',
),
),
);
}
}