Fix account cli
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
Edited by Bo-Chun Chen