Skip to content
Snippets Groups Projects
Commit 315770c8 authored by Fran Garcia-Linares's avatar Fran Garcia-Linares
Browse files

Ensure auto increment in next deploy.

parent 7ae27969
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,13 @@ function drupalorg_migrate_update_10001() { ...@@ -9,6 +9,13 @@ function drupalorg_migrate_update_10001() {
drupalorg_migrate_ensure_auto_increment_values(); drupalorg_migrate_ensure_auto_increment_values();
} }
/**
* Implements hook_update_N().
*/
function drupalorg_migrate_update_10002() {
drupalorg_migrate_ensure_auto_increment_values();
}
function drupalorg_migrate_ensure_auto_increment_values() { function drupalorg_migrate_ensure_auto_increment_values() {
$connection = Database::getConnection(); $connection = Database::getConnection();
$database = $connection->getConnectionOptions()['database']; $database = $connection->getConnectionOptions()['database'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment