feat(storage): add native MySQL namespace and identity pilots
Add resumable checked migrations and explicit schema administration commands. Port ML budgets, namespaces, identity and group persistence with three-backend contracts. Keep MySQL unavailable as the full application backend.
This commit is contained in:
1 parent
0c7897d695
commit
6a67fd9afe
40 files changed
+3087
-94
No files matched your search
@@ -15,6 +15,24 @@ import (
|
||||
)
|
||||
|
||||
func main() {
|
||||
if len(os.Args) > 1 && os.Args[1] == "mysql-identity-schema" {
|
||||
if err := runMySQLSchemaCommand(os.Args[2:], os.Stdout, "identity"); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
return
|
||||
}
|
||||
if len(os.Args) > 1 && os.Args[1] == "mysql-namespace-schema" {
|
||||
if err := runMySQLComponentSchema(os.Args[2:], os.Stdout, true); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
return
|
||||
}
|
||||
if len(os.Args) > 1 && os.Args[1] == "mysql-ml-schema" {
|
||||
if err := runMySQLMLSchema(os.Args[2:], os.Stdout); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
return
|
||||
}
|
||||
if len(os.Args) > 1 && os.Args[1] == "migrate-postgres" {
|
||||
if err := runPostgreSQLMigration(os.Args[2:], os.Stdout); err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in new issue
Block a user