noosfero | Add a upload file field, on the form of the CustomForm plugin. (!1302)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Aug 22 21:16:48 BRT 2017


Rodrigo Souto started a new discussion on plugins/custom_forms/db/migrate/20170815205438_add_upload_file_to_custom_forms.rb:

> +class AddUploadFileToCustomForms < ActiveRecord::Migration
> +  def change
> +    add_reference :custom_forms_plugin_forms , :article, foreign_key: true

Why not call it `image` instead of `article`?  ;)

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1302#note_38248630
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170823/4d061755/attachment.html>


More information about the Noosfero-dev mailing list