How to add two customize filed to attachments table ?

Added by Kai Kuo about 6 years ago

Hello everyone.

I'm a rookie of Rails and Redmine.

How can I add two text fields to attachments table as the version_id filed supported multi-attachment? And use views/files/new in model "Files"?

I already migrated my Database and and can insert data use sql command, and form is available in attachment but can't use view/files/new to link files_controller.rb and update data.

Thanks for your helping....

Add_filed.JPG (29.4 KB)