You are here

private.install in Private 6

Same filename and directory in other branches
  1. 5 private.install
  2. 7.2 private.install
  3. 7 private.install

File

private.install
View source
<?php

function private_schema() {
  $schema['private'] = array(
    'fields' => array(
      'nid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'default' => 0,
      ),
      'private' => array(
        'type' => 'int',
        'not null' => TRUE,
        'default' => 0,
      ),
    ),
    'primary key' => array(
      'nid',
    ),
  );
  return $schema;
}
function private_install() {
  drupal_install_schema('private');
}
function private_uninstall() {
  drupal_uninstall_schema('private');
}