Skip to content

MySQL: Add support for dropping keys#4489

Open
hfhbd wants to merge 6 commits into
masterfrom
hfhbd/mysqlDropKeys
Open

MySQL: Add support for dropping keys#4489
hfhbd wants to merge 6 commits into
masterfrom
hfhbd/mysqlDropKeys

Conversation

@hfhbd

@hfhbd hfhbd commented Aug 4, 2023

Copy link
Copy Markdown
Collaborator

Fixes #4487

@hfhbd
hfhbd force-pushed the hfhbd/mysqlDropKeys branch from 62d7ded to 3b85cd1 Compare August 4, 2023 08:27
}
}

private fun SqlColumnName.getColumnDefOrNull(): SqlColumnDef? {

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be moved to sql-psi to allow reusing getting the columnDef and its foreign status in other dialects too, will do it in another PR.

@AlecKazakova AlecKazakova left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Dropping Foreign Keys is Unsupported

2 participants