Add description_drafting column to budgets table
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddDraftingPhaseToBudget < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :budgets, :description_drafting, :text
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20171220010000) do
|
||||
ActiveRecord::Schema.define(version: 20180108182839) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -201,6 +201,7 @@ ActiveRecord::Schema.define(version: 20171220010000) do
|
||||
t.text "description_reviewing_ballots"
|
||||
t.text "description_finished"
|
||||
t.string "slug"
|
||||
t.text "description_drafting"
|
||||
end
|
||||
|
||||
create_table "campaigns", force: :cascade do |t|
|
||||
|
||||
@@ -223,6 +223,7 @@ FactoryBot.define do
|
||||
sequence(:name) { |n| "Budget #{n}" }
|
||||
currency_symbol "€"
|
||||
phase 'accepting'
|
||||
description_drafting "This budget is drafting"
|
||||
description_accepting "This budget is accepting"
|
||||
description_reviewing "This budget is reviewing"
|
||||
description_selecting "This budget is selecting"
|
||||
|
||||
Reference in New Issue
Block a user