prereqs.install
Search API
Install file for the prereqs module
File
modules/prereqs/prereqs.installView source
- <?php
-
- /**
- * @file
- * Install file for the prereqs module
- */
-
-
- /**
- * hook_install.
- *
- * Create our database table.
- */
- function prereqs_install() {
-
- $q = "
- CREATE TABLE `prereqs_prereqs` (
- `course_id` int(11) DEFAULT '0',
- `prereq_data` longtext,
- KEY `course_id` (`course_id`)
- );
- ";
-
- db_query($q);
-
- fp_add_message(t("Database table created for prereqs module."));
-
-
- }
-
-
-
- function prereqs_update($old_schema, $new_schema) {
-
-
- }
Functions
Name | Description |
---|---|
prereqs_install | hook_install. |
prereqs_update |