function prereqs_install
Search API
7.x prereqs.install | prereqs_install() |
6.x prereqs.install | prereqs_install() |
hook_install.
Create our database table.
File
- modules/
prereqs/ prereqs.install, line 14 - Install file for the prereqs module
Code
function prereqs_install() {
$q = "
CREATE TABLE `prereqs_prereqs` (
`course_id` int(11) DEFAULT '0',
`prereq_data` text,
KEY `course_id` (`course_id`)
);
";
db_query($q);
fp_add_message(t("Database table created for prereqs module."));
}