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

Automatically execute ALTER TABLE MODIFY COLUMN ,But I didn't write such code #578

Open
chun222 opened this issue Mar 16, 2023 · 0 comments
Assignees

Comments

@chun222
Copy link

chun222 commented Mar 16, 2023

GORM Playground Link

#1

Description

I didn't write such business in the code:

ALTER TABLE 'mes mat main' MODIFY COLUMN 'mat code' varchar(50) NOT NULL COMMENT 'material code'

It seems to be executing automatically, resulting in locking the table
And the fields are of uniqueIndex or index unique type

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

No branches or pull requests

2 participants