Mercurial > hg > mpiwg_geobrowser
comparison mpiwg_geobrowser.install @ 0:b57c7821382f
initial
author | Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de> |
---|---|
date | Thu, 28 May 2015 10:28:12 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:b57c7821382f |
---|---|
1 <?php | |
2 | |
3 function mpiwg_geobrowser_schema() { | |
4 $schema = array(); | |
5 | |
6 $schema['mpiwg_geobrowser'] = array( | |
7 'description' => 'mpiwg geobrowser instance', | |
8 'fields' => array( | |
9 'mpiwg_geobrowser_instance_id' => array( | |
10 'description' => 'mpiwg geobrowser instance id', | |
11 'type' => 'serial', | |
12 'unsigned' => TRUE, | |
13 'not null' => TRUE, | |
14 ), | |
15 'item_description' => array( | |
16 'description' => 'A description of the item', | |
17 'type' => 'varchar', | |
18 'length' => 255, | |
19 'not null' => TRUE, | |
20 'default' => '', | |
21 ), | |
22 ), | |
23 'primary key' => array('mpiwg_geobrowser_instance_id'), | |
24 ); | |
25 | |
26 return $schema; | |
27 } |