Skip to content

Commit

Permalink
update schema with latest migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 5, 2020
1 parent 863534d commit 1270617
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ GEM
audited (4.9.0)
activerecord (>= 4.2, < 6.1)
aws-eventstream (1.1.0)
aws-partitions (1.349.0)
aws-partitions (1.351.0)
aws-sdk-core (3.104.3)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.239.0)
Expand Down Expand Up @@ -377,7 +377,7 @@ GEM
addressable (>= 2.4.0)
nokogiri (>= 1.8.0)
public_suffix (>= 2.0.0, < 2.1)
premailer (1.12.1)
premailer (1.13.1)
addressable
css_parser (>= 1.6.0)
htmlentities (>= 4.0.0)
Expand Down
11 changes: 6 additions & 5 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2020_03_13_163242) do
ActiveRecord::Schema.define(version: 2020_07_18_191826) do

create_table "active_storage_attachments", options: "ENGINE=InnoDB DEFAULT CHARSET=latin1", force: :cascade do |t|
t.string "name", limit: 191, null: false
Expand Down Expand Up @@ -202,7 +202,8 @@
t.json "content_url"
t.binary "xml", limit: 16777215
t.json "landing_page"
t.string "agency", limit: 191, default: "DataCite"
t.string "agency", limit: 191, default: "datacite"
t.string "type", limit: 16, default: "DataCiteDoi"
t.index ["aasm_state"], name: "index_dataset_on_aasm_state"
t.index ["created", "indexed", "updated"], name: "index_dataset_on_created_indexed_updated"
t.index ["datacentre"], name: "FK5605B47847B5F5FF"
Expand All @@ -211,6 +212,7 @@
t.index ["last_landing_page_status"], name: "index_dataset_on_last_landing_page_status"
t.index ["schema_version"], name: "index_dataset_on_schema_version"
t.index ["source"], name: "index_dataset_source"
t.index ["type"], name: "index_dataset_on_type"
t.index ["url"], name: "index_dataset_on_url", length: 100
end

Expand Down Expand Up @@ -294,9 +296,8 @@
add_foreign_key "client_prefixes", "datacentre", column: "client_id", name: "FK13A1B3BA47B5F5FF"
add_foreign_key "client_prefixes", "prefixes", name: "FK13A1B3BAAF86A1C7"
add_foreign_key "datacentre", "allocator", column: "allocator", name: "FK6695D60546EBD781"
add_foreign_key "dataset", "datacentre", column: "datacentre", name: "FK5605B47847B5F5FF"
add_foreign_key "media", "dataset", column: "dataset", name: "FK62F6FE44D3D6B1B"
add_foreign_key "metadata", "dataset", column: "dataset", name: "FKE52D7B2F4D3D6B1B"
add_foreign_key "media", "dataset", column: "dataset", name: "__FK62F6FE44D3D6B1B"
add_foreign_key "metadata", "dataset", column: "dataset", name: "__FKE52D7B2F4D3D6B1B"
add_foreign_key "provider_prefixes", "allocator", column: "provider_id", name: "FKE7FBD67446EBD781"
add_foreign_key "provider_prefixes", "prefixes", name: "FKE7FBD674AF86A1C7"
end

0 comments on commit 1270617

Please sign in to comment.