feat: migrate IM identity and snowflake primary keys
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
//go:build mysql
|
||||
// +build mysql
|
||||
|
||||
package mysql
|
||||
|
||||
func withoutUserTags(update map[string]any) map[string]any {
|
||||
if update == nil {
|
||||
return nil
|
||||
}
|
||||
clean := make(map[string]any, len(update))
|
||||
for key, value := range update {
|
||||
if key != "Tags" && key != "tags" {
|
||||
clean[key] = value
|
||||
}
|
||||
}
|
||||
return clean
|
||||
}
|
||||
Reference in New Issue
Block a user