Difference between revisions of "Temporal-sql-tool"

From wikieduonline
Jump to navigation Jump to search
 
Line 2: Line 2:
  
 
  # Main temporal DB
 
  # Main temporal DB
  temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal create-database
+
  temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db [[temporal]] create-database
 
  temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal setup-schema -v 0.0
 
  temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal setup-schema -v 0.0
 
  temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal update-schema -d /etc/temporal/schema/postgresql/v12/temporal/versioned
 
  temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal update-schema -d /etc/temporal/schema/postgresql/v12/temporal/versioned

Latest revision as of 20:44, 16 April 2026

# Main temporal DB
temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal create-database
temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal setup-schema -v 0.0
temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal update-schema -d /etc/temporal/schema/postgresql/v12/temporal/versioned
# Visibility DB
temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal_visibility create-database
temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal_visibility setup-schema -v 0.0
temporal-sql-tool --plugin postgres12 --ep postgresql -p 5432 -u postgres --pw <decoded-password> --db temporal_visibility update-schema -d /etc/temporal/schema/postgresql/v12/visibility/versioned


Related[edit]

See also[edit]

Advertising: