Skip to content

Commit

Permalink
Merge branch 'integration_migration_phase1' into cds/invalid-dates-co…
Browse files Browse the repository at this point in the history
…erced
  • Loading branch information
ConnorSheremeta authored Jun 23, 2020
2 parents a51d669 + 8f3b104 commit 44f0348
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ and releases in Jupiter project adheres to [Semantic Versioning](http://semver.o
### Fixed
- Now ignoring strings of length 4 for dates in coerce_value [PR#1700](https://github.com/ualbertalib/jupiter/pull/1700)

### Changed
- Beefed up AR migrations by stating that certain attributes cannot be null [PR#1704](https://github.com/ualbertalib/jupiter/pull/1704)

## [1.2.17] - 2019-09-24

### Security
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20190806193807_add_ar_community.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def change
t.datetime :record_created_at
t.string :hydra_noid
t.datetime :date_ingested
t.string :title
t.string :title, null: false
t.string :fedora3_uuid
t.string :depositor
t.text :description
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20190806193857_add_ar_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def change
t.datetime :record_created_at
t.string :hydra_noid
t.datetime :date_ingested
t.string :title
t.string :title, null: false
t.string :fedora3_uuid
t.string :depositor
t.uuid :community_id
Expand Down
6 changes: 3 additions & 3 deletions db/migrate/20190815215625_create_ar_item.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ def change
t.references :owner, null: false, index: true, foreign_key: {to_table: :users, column: :id}
t.datetime :record_created_at
t.string :hydra_noid
t.datetime :date_ingested
t.string :title
t.datetime :date_ingested, null: false
t.string :title, null: false
t.string :fedora3_uuid
t.string :depositor
t.string :alternative_title
Expand All @@ -21,7 +21,7 @@ def change
t.integer :sort_year
t.json :embargo_history, array: true
t.json :is_version_of, array: true
t.json :member_of_paths, array: true
t.json :member_of_paths, null: false, array: true
t.json :subject, array: true
t.json :creators, array: true
t.json :contributors, array: true
Expand Down
6 changes: 3 additions & 3 deletions db/migrate/20190822183423_create_ar_thesis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ def change
t.references :owner, null: false, index: true, foreign_key: {to_table: :users, column: :id}
t.datetime :record_created_at
t.string :hydra_noid
t.datetime :date_ingested
t.string :title
t.datetime :date_ingested, null: false
t.string :title, null: false
t.string :fedora3_uuid
t.string :depositor
t.string :alternative_title
Expand All @@ -22,7 +22,7 @@ def change
t.json :embargo_history, array: true
t.json :is_version_of, array: true

t.json :member_of_paths, array: true
t.json :member_of_paths, null: false, array: true
t.json :subject, array: true

t.text :abstract
Expand Down
16 changes: 8 additions & 8 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
t.datetime "record_created_at"
t.string "hydra_noid"
t.datetime "date_ingested"
t.string "title"
t.string "title", null: false
t.string "fedora3_uuid"
t.string "depositor"
t.uuid "community_id"
Expand All @@ -73,7 +73,7 @@
t.datetime "record_created_at"
t.string "hydra_noid"
t.datetime "date_ingested"
t.string "title"
t.string "title", null: false
t.string "fedora3_uuid"
t.string "depositor"
t.text "description"
Expand All @@ -88,8 +88,8 @@
t.bigint "owner_id", null: false
t.datetime "record_created_at"
t.string "hydra_noid"
t.datetime "date_ingested"
t.string "title"
t.datetime "date_ingested", null: false
t.string "title", null: false
t.string "fedora3_uuid"
t.string "depositor"
t.string "alternative_title"
Expand All @@ -104,7 +104,7 @@
t.integer "sort_year"
t.json "embargo_history", array: true
t.json "is_version_of", array: true
t.json "member_of_paths", array: true
t.json "member_of_paths", null: false, array: true
t.json "subject", array: true
t.json "creators", array: true
t.json "contributors", array: true
Expand Down Expand Up @@ -132,8 +132,8 @@
t.bigint "owner_id", null: false
t.datetime "record_created_at"
t.string "hydra_noid"
t.datetime "date_ingested"
t.string "title"
t.datetime "date_ingested", null: false
t.string "title", null: false
t.string "fedora3_uuid"
t.string "depositor"
t.string "alternative_title"
Expand All @@ -148,7 +148,7 @@
t.integer "sort_year"
t.json "embargo_history", array: true
t.json "is_version_of", array: true
t.json "member_of_paths", array: true
t.json "member_of_paths", null: false, array: true
t.json "subject", array: true
t.text "abstract"
t.string "language"
Expand Down

0 comments on commit 44f0348

Please sign in to comment.