Skip to content
#

indexes

Here are 61 public repositories matching this topic...

mfvanek
mfvanek commented May 21, 2022

Sometimes in database migrations we've faced with curious constructions like

CREATE TABLE some_table
(
    id bigserial primary key,
    document_copy_id bigserial, // it's a foreign key
...

It's look like a code smell to use serial/bigserial type for foreign key column in that case.
So it would be great to have a diagnostic for finding and preventing such cases.

Also It would

enhancement help wanted good first issue

Improve this page

Add a description, image, and links to the indexes topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the indexes topic, visit your repo's landing page and select "manage topics."

Learn more