2
0
mirror of https://github.com/hibiken/asynq.git synced 2025-04-22 16:50:18 +08:00
This commit is contained in:
Ken Hibino 2021-06-22 16:47:04 -07:00
parent b0945e8d3e
commit 4e2c8bb8bc

View File

@ -33,16 +33,6 @@ func init() {
rootCmd.AddCommand(migrateCmd)
}
// Migration Steps:
//
// Step 1: Backup your Redis DB with RDB snapshot file
//
// Step 2: Run the following command to update the DB with new schema:
// asynq migrate
//
// Step 3 (Optional):
// If Step 2 fails, restore from the backup and report an issue.
func backupKey(key string) string {
return fmt.Sprintf("%s:backup", key)
}