aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-02-06 23:32:48 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-29 07:30:29 +0100
commit700b8b0a112fa976b9850418a7f0c71d95b6dd79 (patch)
tree6e0b4b20f3bd319c4d70b5e363c521ed3c19bdb7 /db
parent2d7bc302ad6d15461a10a67bd5e7e83e3dda279b (diff)
downloadgovuk-mini-environment-admin-700b8b0a112fa976b9850418a7f0c71d95b6dd79.tar
govuk-mini-environment-admin-700b8b0a112fa976b9850418a7f0c71d95b6dd79.tar.gz
AWS related tweaks
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20180206203924_add_info_to_mini_environment.rb5
-rw-r--r--db/schema.rb3
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20180206203924_add_info_to_mini_environment.rb b/db/migrate/20180206203924_add_info_to_mini_environment.rb
new file mode 100644
index 0000000..a9e6db8
--- /dev/null
+++ b/db/migrate/20180206203924_add_info_to_mini_environment.rb
@@ -0,0 +1,5 @@
+class AddInfoToMiniEnvironment < ActiveRecord::Migration[5.1]
+ def change
+ add_column :mini_environments, :info, :jsonb
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index a20083e..39cc82c 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 20180128125638) do
+ActiveRecord::Schema.define(version: 20180206203924) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -26,6 +26,7 @@ ActiveRecord::Schema.define(version: 20180128125638) do
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
+ t.jsonb "info"
end
create_table "minienvironments", force: :cascade do |t|