You are here

function password_field_field_schema in Password Field 7

Create the Password Field database table.

Implements hook_field_schema

File

./password_field.install, line 13
password_field.install Defines a database column for encrypted passwords

Code

function password_field_field_schema($field) {
  return array(
    'columns' => array(
      'password_field' => array(
        'type' => 'text',
        'not null' => FALSE,
        'default' => NULL,
      ),
    ),
  );
}