Actions
Defect #30488
closedMissing migration for Comment table
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
I just finished upgrading this plugin https://github.com/matsukei/redmine_send_issue_reply_email to work on Redmine 4.0
and when i run the tests, i received this error
ActiveRecord::Fixture::FixtureError: table "comments" has no columns named "content"
After checking the Comment model, i believe there's a missing migration that would add "content" to the Comments table.
My stack is:- Ruby 2.4.1
- Rails 5.2
- Redmine 4.0.0
Updated by Marius BĂLTEANU over 6 years ago
- Status changed from New to Needs feedback
- Assignee set to Thibault Mutabazi
Did you run rake db:migrate
?
The migration exists, please see source:trunk/db/migrate/20170723112801_rename_comments_to_content.rb
Updated by Thibault Mutabazi over 6 years ago
Sorry for wasting your time. A migration fixed it
Updated by Go MAEDA over 6 years ago
- Status changed from Needs feedback to Closed
- Assignee deleted (
Thibault Mutabazi) - Resolution set to Invalid
Thank you for the feedback. I am relieved to hear that.
Actions