Mercurial > hg > mpiwg_geobrowser
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mpiwg_geobrowser.install Thu May 28 10:28:12 2015 +0200 @@ -0,0 +1,27 @@ +<?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; +} \ No newline at end of file