diff --git a/CHANGELOG.md b/CHANGELOG.md index b4b00a468..475a26d67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and releases in Discovery project adheres to [Semantic Versioning](http://semver ## [Unreleased] +### Fixed +- Added rails version to symphony nightly template []() + ## [3.5.7] - 2021-01-15 ### Fixed diff --git a/lib/generators/symphony_nightly/templates/update_symphony_nightly.erb b/lib/generators/symphony_nightly/templates/update_symphony_nightly.erb index 7c633f313..7fd727deb 100644 --- a/lib/generators/symphony_nightly/templates/update_symphony_nightly.erb +++ b/lib/generators/symphony_nightly/templates/update_symphony_nightly.erb @@ -1,4 +1,4 @@ -class UpdateSymphonyNightly<%= Time.now.strftime('%Y%m%d') %> < ActiveRecord::Migration +class UpdateSymphonyNightly<%= Time.now.strftime('%Y%m%d') %> < ActiveRecord::Migration[4.2] # order matters for libraries and locations because of the foreign key SYMPHONY_TABLES = ['statuses', 'item_types',