diff options
author | Christopher Baines <mail@cbaines.net> | 2018-01-28 14:46:03 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-03-29 07:28:09 +0100 |
commit | 97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d (patch) | |
tree | fa2dceba69676cd0a2d35840fea69eb1422b52bd /db | |
parent | eb3177b0d8de10f316ac595dff3b8165cf828796 (diff) | |
download | govuk-mini-environment-admin-97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d.tar govuk-mini-environment-admin-97f6d7e326a1fd7ddcbe7cf32dc0e4c0a508913d.tar.gz |
Add terraform backend and initial guix configuration
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20180128125638_create_terraform_states.rb | 9 | ||||
-rw-r--r-- | db/schema.rb | 8 |
2 files changed, 16 insertions, 1 deletions
diff --git a/db/migrate/20180128125638_create_terraform_states.rb b/db/migrate/20180128125638_create_terraform_states.rb new file mode 100644 index 0000000..1882af9 --- /dev/null +++ b/db/migrate/20180128125638_create_terraform_states.rb @@ -0,0 +1,9 @@ +class CreateTerraformStates < ActiveRecord::Migration[5.1] + def change + create_table :terraform_states do |t| + t.json :data + + t.timestamps + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 70325bb..a20083e 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: 20180127222948) do +ActiveRecord::Schema.define(version: 20180128125638) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -45,6 +45,12 @@ ActiveRecord::Schema.define(version: 20180127222948) do t.text "queue", default: "", null: false end + create_table "terraform_states", force: :cascade do |t| + t.json "data" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + end + create_table "users", force: :cascade do |t| t.string "name" t.string "email" |