aboutsummaryrefslogtreecommitdiff
path: root/app/models/mini_environment.rb
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-03-26 22:09:43 +0100
committerChristopher Baines <mail@cbaines.net>2018-04-03 21:57:39 +0100
commit9649f88d2857e686c59867031aaad228cc4358fa (patch)
tree5486c3ea0a15c4459337d725eb8a4fa63e34e3bc /app/models/mini_environment.rb
parent4f4fd0694024cbf9051ea1ab88abeadb69dcd1a6 (diff)
downloadgovuk-mini-environment-admin-9649f88d2857e686c59867031aaad228cc4358fa.tar
govuk-mini-environment-admin-9649f88d2857e686c59867031aaad228cc4358fa.tar.gz
Add a new signon_users field to MiniEnvironment
To store the data regarding the Signon users seeded in the database. Store this as JSON, rather than data in different tables to simplify the schema, as I don't expect it to change at all once the MiniEnvironment is created.
Diffstat (limited to 'app/models/mini_environment.rb')
-rw-r--r--app/models/mini_environment.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/mini_environment.rb b/app/models/mini_environment.rb
index c90d318..4dc4a86 100644
--- a/app/models/mini_environment.rb
+++ b/app/models/mini_environment.rb
@@ -11,6 +11,7 @@
# backend_type :string
# backend_id :integer
# backend_data :jsonb
+# signon_users :jsonb
#
class MiniEnvironment < ApplicationRecord