Fix account cli
Compare changes
Files
4+ 3
− 3
@@ -36,8 +36,8 @@ def insert_db(operation, groupname, msg):
@@ -53,7 +53,7 @@ def group_member(ch, method, properties, body):
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