10223: Added output_name column to container_request. When being finalized, if output...
authorLucas Di Pentima <lucas@curoverse.com>
Mon, 2 Jan 2017 21:14:33 +0000 (18:14 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Mon, 2 Jan 2017 21:14:33 +0000 (18:14 -0300)
commitf81427c5f93c159d26c3125aaa7ede4c5986dd07
treed0e40a11838f76c801de1140e5e9f7b0ebab68da
parentec600fb1b5ab89d923e6e19529d568964c4f4137
10223: Added output_name column to container_request. When being finalized, if output_name is set then the output
collection will be named accordingly. If there is a unique index violation, a date is added to its name.
Also, added output_name to CR search index.
services/api/app/models/container_request.rb
services/api/db/migrate/20161223090712_add_output_name_to_container_requests.rb [new file with mode: 0644]
services/api/db/migrate/20170102153111_add_output_name_to_container_request_search_index.rb [new file with mode: 0644]
services/api/db/structure.sql
services/api/test/unit/container_request_test.rb