diff options
author | Christopher Baines <mail@cbaines.net> | 2019-01-06 11:27:50 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-01-06 11:55:15 +0000 |
commit | 503ad56e7aeae6050ef98477b3a60f6b4c9f59cf (patch) | |
tree | dcb700d7c33b7300d5d86ebf480dd486dcf67c24 /db/migrate | |
parent | 1c097bf9041939b286c1d2f764f65bcf017cd117 (diff) | |
download | govuk-mini-environment-admin-503ad56e7aeae6050ef98477b3a60f6b4c9f59cf.tar govuk-mini-environment-admin-503ad56e7aeae6050ef98477b3a60f6b4c9f59cf.tar.gz |
Add support for archiving mini environments
Diffstat (limited to 'db/migrate')
-rw-r--r-- | db/migrate/20190106112141_add_archived_to_mini_environment.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190106112141_add_archived_to_mini_environment.rb b/db/migrate/20190106112141_add_archived_to_mini_environment.rb new file mode 100644 index 0000000..75527a7 --- /dev/null +++ b/db/migrate/20190106112141_add_archived_to_mini_environment.rb @@ -0,0 +1,5 @@ +class AddArchivedToMiniEnvironment < ActiveRecord::Migration[5.2] + def change + add_column :mini_environments, :archived, :boolean, default: false, null: false + end +end |