function signup_install in Signup 6.2
Same name and namespace in other branches
- 5.2 signup.install \signup_install()
- 5 signup.install \signup_install()
- 6 signup.install \signup_install()
- 7 signup.install \signup_install()
Implementation of hook_install().
This will automatically install the database tables for the Signup module for both the MySQL and PostgreSQL databases.
If you are using another database, you will have to install the tables by hand, using the queries below as a reference.
Note that the curly braces around table names are a drupal-specific feature to allow for automatic database table prefixing, and will need to be removed.
File
- ./
signup.install, line 199
Code
function signup_install() {
// Create tables.
drupal_install_schema('signup');
signup_insert_default_signup_info();
}