Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove the obsolete todo (#2110)

tianzhou85d0724a302e
diff --git a/bin/server/cmd/root.go b/bin/server/cmd/root.go
index e1c0f323b3..ca0fff0825 100644
--- a/bin/server/cmd/root.go
+++ b/bin/server/cmd/root.go
@@ -129,9 +129,6 @@ func init() {
rootCmd.PersistentFlags().BoolVar(&flags.demo, "demo", false, "whether to run using demo data")
rootCmd.PersistentFlags().StringVar(&flags.demoName, "demo-name", "", "name of the demo to use when running in demo mode")
rootCmd.PersistentFlags().BoolVar(&flags.debug, "debug", false, "whether to enable debug level logging")
- // TODO(tianzhou): this needs more bake time. There are couple blocking issues:
- // 1. Currently, we will create a separate database "bytebase" to store the migration_history table, we need to put it inside the specified database here.
- // 2. We need to move the logic of creating Bytebase metadata db logic outside. Because with --pg option, the db has already been created.
rootCmd.PersistentFlags().StringVar(&flags.pgURL, "pg", "", "optional external PostgreSQL instance connection url(must provide dbname); for example postgresql://user:secret@masterhost:5432/dbname?sslrootcert=cert")
}