* Make org proof a required field * Fix color picker and other minor org adjustments * Add MVP of org add'l sidebar * Add proof to org factory * Fix org create action and fix tests * Add new org fields to admin panel & lint * Add proof to org edit for backward compatibility * Add org info to edit preview * Move preview edit notice to inside article div * MVP of badge "final" steps * Add info to user sidebar and clean up badge commit * Modify sidebar for data * Add organization decorator * Add conditional so only users have new swipe nav, not orgs * Add cloudinary prefix to badges * Disallow duplicate badges
8 lines
317 B
Ruby
8 lines
317 B
Ruby
class AddOrganizationSidebarFields < ActiveRecord::Migration[5.1]
|
|
def change
|
|
add_column :organizations, :cta_button_text, :string
|
|
add_column :organizations, :cta_button_url, :string
|
|
add_column :organizations, :cta_body_markdown, :text
|
|
add_column :organizations, :cta_processed_html, :text
|
|
end
|
|
end
|