function linkit_update_7200 in Linkit 7.2
Create the {linkit_profiles} table if it not exists.
File
- ./
linkit.install, line 106 - Install, update and uninstall functions for the Linkit module.
Code
function linkit_update_7200() {
if (!db_table_exists('linkit_profiles')) {
// Call the schema function to reduce the lines of code here.
$schema = linkit_schema();
// Create the table.
db_create_table('linkit_profiles', $schema['linkit_profiles']);
return st('The table {linkit_profiles} was successfully created.');
}
}