Skip to content
Permalink
Browse files

removed Party#summary

  • Loading branch information...
pugetive committed Sep 4, 2019
1 parent 21994fc commit 758e7dae285c761b12ff540d9b949cba1e1e0ffa
@@ -54,9 +54,6 @@ a.remove-button {
}

form.edit_party {
#party_summary {
height: 5em;
}
#party_description {
height: 10em;
}
@@ -18,7 +18,6 @@ def party_params
:official_title,
:start_year,
:stop_year,
:summary,
:type,
:url,
images_attributes: [:data, :name])
@@ -7,7 +7,6 @@
f.select(:type, options_for_select(Party::TYPES, selected: @party.type)))

= label_field(f.label(:official_title), f.text_field(:official_title))
= label_field(f.label(:summary), f.text_area(:summary, maxlength: 255))
= label_field(f.label(:url), f.text_field(:url))
= label_field(f.label(:description), f.text_area(:description))
= label_field(f.label(:location), f.text_field(:location))
@@ -0,0 +1,5 @@
class RemovePartiesSummary < ActiveRecord::Migration[5.2]
def change
remove_column(:parties, :summary)
end
end
@@ -186,7 +186,6 @@
t.datetime "updated_at", null: false
t.string "location", limit: 32
t.string "official_title"
t.string "summary"
t.string "slug"
t.boolean "live", default: false
t.boolean "alias", default: false, null: false

0 comments on commit 758e7da

Please sign in to comment.
You can’t perform that action at this time.