Remove question from legislation people proposal
It was added by accident; this field had already been removed from legislation proposal.
This commit is contained in:
@@ -2,7 +2,6 @@ section "Creating legislation people proposals" do
|
||||
10.times do
|
||||
Legislation::PeopleProposal.create!(title: Faker::Lorem.sentence(3).truncate(60),
|
||||
description: Faker::Lorem.paragraphs.join("\n\n"),
|
||||
question: Faker::Lorem.sentence(3),
|
||||
summary: Faker::Lorem.paragraph,
|
||||
author: User.all.sample,
|
||||
process: Legislation::Process.all.sample,
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class RemoveQuestionFromLegislationPeopleProposal < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
remove_column :legislation_people_proposals, :question, :string
|
||||
end
|
||||
end
|
||||
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20190429125842) do
|
||||
ActiveRecord::Schema.define(version: 20190607160900) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -671,7 +671,6 @@ ActiveRecord::Schema.define(version: 20190429125842) do
|
||||
t.integer "legislation_process_id"
|
||||
t.string "title", limit: 80
|
||||
t.text "description"
|
||||
t.string "question"
|
||||
t.integer "author_id"
|
||||
t.datetime "hidden_at"
|
||||
t.integer "flags_count", default: 0
|
||||
|
||||
Reference in New Issue
Block a user