Skip to content
Snippets Groups Projects

Add script to print codebase schema

Merged Jon Jenkins requested to merge cng-2024-codebase-schema-script into master

gitlab-org/build/CNG#2024 (closed)

Since it is necessary to determine the latest migration present in the codebase, but migrations are no longer sorted by timestamp, we need a way for the cloud native build script to get this information in a performant manner. Loading a MigrationContext is very slow, so I added a new script, which has no Rails dependencies, to tell us this very information.

It is fast enough to run during the build process here.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading