view mpiwg_geobrowser.install @ 2:35c11979b58b

added current version of platin
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 02 Jun 2015 13:52:44 +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;
}