aboutsummaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb13
1 files changed, 12 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 39cc82c..bf9d773 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: 20180206203924) do
+ActiveRecord::Schema.define(version: 20180217131053) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -22,11 +22,21 @@ ActiveRecord::Schema.define(version: 20180206203924) do
t.datetime "updated_at", null: false
end
+ create_table "govuk_guix_revisions", primary_key: "commit_hash", id: :string, force: :cascade do |t|
+ t.string "store_path"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.index ["commit_hash"], name: "index_govuk_guix_revisions_on_commit_hash", unique: true
+ end
+
create_table "mini_environments", force: :cascade do |t|
t.string "name"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.jsonb "info"
+ t.string "govuk_guix_revision_id"
+ t.string "start_command"
+ t.index ["govuk_guix_revision_id"], name: "index_mini_environments_on_govuk_guix_revision_id"
end
create_table "minienvironments", force: :cascade do |t|
@@ -63,4 +73,5 @@ ActiveRecord::Schema.define(version: 20180206203924) do
t.boolean "disabled", default: false
end
+ add_foreign_key "mini_environments", "govuk_guix_revisions", primary_key: "commit_hash"
end