view mpiwg_geobrowser.install @ 1:ea066ce001bd

bug fixes, works now without admin rights
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Fri, 29 May 2015 13:59:32 +0200
parents b57c7821382f
children
line wrap: on
line source

<?php

function mpiwg_geobrowser_schema() {
    $schema = array();

    $schema['mpiwg_geobrowser'] = array(
        'description' => 'mpiwg geobrowser instance',
        'fields' => array(
            'mpiwg_geobrowser_instance_id' => array(
                'description' => 'mpiwg geobrowser instance id',
                'type' => 'serial',
                'unsigned' => TRUE,
                'not null' => TRUE,
            ),
            'item_description' => array(
              'description' => 'A description of the item',
              'type' => 'varchar',
              'length' => 255,
              'not null' => TRUE,
              'default' => '',
            ),
        ),
        'primary key' => array('mpiwg_geobrowser_instance_id'),
    );

    return $schema;
}