aboutsummaryrefslogtreecommitdiff
path: root/db/migrate/20180601182655_add_data_snapshot_to_mini_environment.rb
blob: 8c12cf03f8b4c25183942e124a4ccc6a65fa6ada (plain)
1
2
3
4
5
6
7
8
9
class AddDataSnapshotToMiniEnvironment < ActiveRecord::Migration[5.1]
  def change
    add_reference(
      :mini_environments,
      :data_snapshot,
      foreign_key: { to_table: :govuk_guix_data_snapshots }
    )
  end
end