Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change lock type when flyway run #2

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Change lock type when flyway run #2

merged 1 commit into from
Oct 21, 2024

Conversation

GregoireW
Copy link
Contributor

@GregoireW GregoireW commented Oct 21, 2024

Lock type can block "create index concurrently", we can remove the transaction lock here.

Copy link

DBLinter Report:

Issues found:

- ⚠️ B003 2 table without index on foreign key exceed the warning threshold: 10%.
+ ↪️ create a index on foreign key or change warning/error threshold.

- ⚠️ T004 unindexed fk postgres.public.employee.
+ ↪️ create index on employee(employee_role_id).

- ⚠️ T004 unindexed fk postgres.public.project.
+ ↪️ create index on project(client_id).

@GregoireW GregoireW merged commit 090eb9e into main Oct 21, 2024
3 checks passed
@GregoireW GregoireW deleted the feat/lock branch October 21, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant