class AddGovukGuixRevisionToMiniEnvironment < ActiveRecord::Migration[5.1] def change add_reference :mini_environments, :govuk_guix_revision, type: :string, foreign_key: { primary_key: :commit_hash } end end