diff options
author | Christopher Baines <mail@cbaines.net> | 2018-05-28 20:36:00 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-05-30 20:17:50 +0100 |
commit | 3b135d15e48eafb99395b3f1a62e15e5de1c5a4f (patch) | |
tree | e672864451e2f55216006ce90c8520f71cd31d7e /db/migrate | |
parent | 9df1bb790e24cad296d1187225dcb1fabed4b98b (diff) | |
download | govuk-mini-environment-admin-3b135d15e48eafb99395b3f1a62e15e5de1c5a4f.tar govuk-mini-environment-admin-3b135d15e48eafb99395b3f1a62e15e5de1c5a4f.tar.gz |
Add a new model to track services
Associated with a mini environment. This can also be used to store
customisations over the chosen revision of govuk-guix.
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20180527183740_create_mini_environment_services.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20180527183740_create_mini_environment_services.rb b/db/migrate/20180527183740_create_mini_environment_services.rb new file mode 100644 index 0000000..135889c --- /dev/null +++ b/db/migrate/20180527183740_create_mini_environment_services.rb @@ -0,0 +1,11 @@ +class CreateMiniEnvironmentServices < ActiveRecord::Migration[5.1] + def change + create_table :mini_environment_services do |t| + t.string :name + t.string :revision + t.references :mini_environment, foreign_key: true + + t.timestamps + end + end +end |