Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalorg_migrate
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalorg_migrate
Commits
315770c8
Commit
315770c8
authored
7 months ago
by
Fran Garcia-Linares
Browse files
Options
Downloads
Patches
Plain Diff
Ensure auto increment in next deploy.
parent
7ae27969
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
drupalorg_migrate.install
+7
-0
7 additions, 0 deletions
drupalorg_migrate.install
with
7 additions
and
0 deletions
drupalorg_migrate.install
+
7
−
0
View file @
315770c8
...
@@ -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'
];
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment