X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fadvanced_help%2Fadvanced_help.install;fp=web%2Fmodules%2Fcontrib%2Fadvanced_help%2Fadvanced_help.install;h=7e735e489d3900ae8e4adec9d92dbc4c0c9e607d;hp=0000000000000000000000000000000000000000;hb=8acec36f19c470dfcda1ae2336826a782f41874c;hpb=e0411c4e83ba0d079034db83c3f7f55be24a0e35 diff --git a/web/modules/contrib/advanced_help/advanced_help.install b/web/modules/contrib/advanced_help/advanced_help.install new file mode 100644 index 000000000..7e735e489 --- /dev/null +++ b/web/modules/contrib/advanced_help/advanced_help.install @@ -0,0 +1,50 @@ + 'Stores search index correlations for advanced help topics.', + 'fields' => [ + 'sid' => [ + 'type' => 'serial', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'description' => 'The primary key to give to the search engine for this topic.', + 'no export' => TRUE, + ], + 'module' => [ + 'type' => 'varchar', + 'length' => '255', + 'default' => '', + 'not null' => TRUE, + 'description' => 'The module that owns this topic.', + ], + 'topic' => [ + 'type' => 'varchar', + 'length' => '255', + 'default' => '', + 'not null' => TRUE, + 'description' => 'The topic id.', + ], + 'langcode' => [ + 'type' => 'varchar', + 'length' => 12, + 'not null' => TRUE, + 'default' => '', + 'description' => 'The langcode this search index relates to.', + ], + ], + 'primary key' => ['sid'], + 'indexes' => ['langcode' => ['langcode']], + 'foreign keys' => [ + 'system' => [ + 'table' => 'system', + 'columns' => ['name' => 'name'], + ], + ], + ]; + + return $schema; +} \ No newline at end of file