Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BddAdmin
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
BddAdmin
Commits
e46978e6
Commit
e46978e6
authored
6 months ago
by
Laurent Lecluse
Browse files
Options
Downloads
Patches
Plain Diff
Bug assotiation séquences aux tables corrigé.
parent
7c85ac1a
No related branches found
No related tags found
No related merge requests found
Pipeline
#32311
passed
6 months ago
Stage: publish
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Driver/Postgresql/TableManager.php
+2
-2
2 additions, 2 deletions
src/Driver/Postgresql/TableManager.php
with
2 additions
and
2 deletions
src/Driver/Postgresql/TableManager.php
+
2
−
2
View file @
e46978e6
...
...
@@ -91,13 +91,13 @@ class TableManager extends AbstractManager implements TableManagerInterface
c.ordinal_position
\"
position
\"
,
pg_catalog.col_description(pgcc.oid, c.ordinal_position::int) col_commentaire,
obj_description(t.oid) commentaire,
s.sequence
_
name
\"
sequence
\"
s.sequencename
\"
sequence
\"
FROM
pg_catalog.pg_class t
JOIN pg_catalog.pg_namespace ns ON ns.oid = t.relnamespace
JOIN information_schema.columns c ON c.table_schema = ns.nspname and c.table_name = t.relname
JOIN pg_catalog.pg_class pgcc ON pgcc.oid = (SELECT ('
\"
' || c.table_schema || '
\"
.
\"
' || c.table_name || '
\"
')::regclass::oid)
LEFT JOIN
information_schema.
sequences s ON s.
sequence_
schema = ns.nspname AND s.sequence
_
name = t.relname || '_id_seq'
LEFT JOIN
pg_catalog.pg_
sequences s ON s.schema
name
= ns.nspname AND s.sequencename = t.relname || '_id_seq'
WHERE
t.relkind = 'r'
AND ns.nspname not in ('pg_catalog','information_schema')
...
...
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