Skip to content

Commit

Permalink
chore: update comment on autoincrement migration
Browse files Browse the repository at this point in the history
  • Loading branch information
rolznz committed Jul 16, 2024
1 parent 1cb42a9 commit cd9754b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion db/migrations/202407151352_autoincrement.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import (

// This migration (inside a DB transaction),
// - Adds AUTOINCREMENT to the primary key of:
// - apps, app_permissions, request_events, response_events, user_configs
// - apps, app_permissions, request_events, response_events
//
// user_configs is not migrated as it has no relations with other tables, therefore hopefully no issue with reusing IDs
//
// request_events and response_events are not critical (and also payments are dropped in the same release)
// so we just drop those tables and re-create them.
Expand Down

0 comments on commit cd9754b

Please sign in to comment.