We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Requesting support for MySQL's unique key.
In the code blow, the unique type of idx has been ignored by the function createIndexSQL
idx
createIndexSQL
func createIndexSQL(ts sqlchemy.ITableSpec, idx sqlchemy.STableIndex) string { return fmt.Sprintf("CREATE INDEX `%s` ON `%s` (%s)", idx.Name(), ts.Name(), strings.Join(idx.QuotedColumns("`"), ",")) }
https://github.com/yunionio/sqlchemy/blob/master/backends/mysql/sync.go#L141
Can you please support MySQL unique key?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Requesting support for MySQL's unique key.
In the code blow, the unique type of
idx
has been ignored by the functioncreateIndexSQL
https://github.com/yunionio/sqlchemy/blob/master/backends/mysql/sync.go#L141
Can you please support MySQL unique key?
The text was updated successfully, but these errors were encountered: