pm_block_user.install

  1. 1 pm_block_user/pm_block_user.install
  2. 7-1 pm_block_user/pm_block_user.install
  3. 7-2 pm_block_user/pm_block_user.install
  4. 6-2 pm_block_user/pm_block_user.install

Install file for pm_block_user.module

File

pm_block_user/pm_block_user.install
View source
  1. <?php
  2. /**
  3. * @file
  4. * Install file for pm_block_user.module
  5. */
  6. /**
  7. * Implement hook_schema().
  8. */
  9. function pm_block_user_schema() {
  10. $schema = array();
  11. $schema['pm_block_user'] = array(
  12. 'description' => '{pm_block_user} holds data mapping which authors who cannot messages to which recipients ',
  13. 'fields' => array(
  14. 'author' => array(
  15. 'description' => 'ID of the author',
  16. 'type' => 'int',
  17. 'not null' => TRUE,
  18. 'unsigned' => TRUE,
  19. ),
  20. 'recipient' => array(
  21. 'description' => 'ID of the recipient',
  22. 'type' => 'int',
  23. 'not null' => TRUE,
  24. 'unsigned' => TRUE,
  25. ),
  26. ),
  27. 'primary key' => array('author', 'recipient'),
  28. );
  29. return $schema;
  30. }

Functions

Namesort descending Description
pm_block_user_schema Implement hook_schema().