Fix account cli
Compare changes
Files
2+ 28
− 15
@@ -41,11 +48,12 @@ msg["state"] = state
@@ -61,18 +69,23 @@ def callback(ch, method, properties, body):
@@ -83,7 +96,7 @@ print("Waiting for completion...")
Fixes #159 (closed)
The MR includes a migration script to rename the database column from executed_by
to updated_by
. Here's how you will run it:
cd /cm/shared/rabbitmq_agents
db_path=prod_rmq_agents/.agent_db/user_reg.db
# Check schema before running migration script
sqlite3 $db_path '.schema groups'
sqlite3 $db_path < migrations/20240729_groups_rename_column.sql
# Verify new schema
sqlite3 $db_path '.schema groups'
unset db_path