You are here

function og_access_schema in Organic groups 7

Same name and namespace in other branches
  1. 6.2 modules/og_access/og_access.install \og_access_schema()
  2. 7.2 og_access/og_access.install \og_access_schema()

Implements hook_schema();

File

og_access/og_access.install, line 24
Install, update, and uninstall functions for the Organic groups access module.

Code

function og_access_schema() {
  if (db_table_exists('og_access_post')) {
    db_rename_table('og_access_post', 'd6_og_access_post');
  }
}