Adds sanitized descriptions for all phases to budget model

This commit is contained in:
kikito
2017-01-01 12:51:17 +01:00
parent c17dcf1bab
commit d80dedaad8
5 changed files with 49 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20161230172816) do
ActiveRecord::Schema.define(version: 20161230174744) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -160,12 +160,18 @@ ActiveRecord::Schema.define(version: 20161230172816) do
add_index "budget_valuator_assignments", ["investment_id"], name: "index_budget_valuator_assignments_on_investment_id", using: :btree
create_table "budgets", force: :cascade do |t|
t.string "name", limit: 30
t.text "description"
t.string "currency_symbol", limit: 10
t.string "phase", limit: 15, default: "on_hold"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "name", limit: 30
t.string "currency_symbol", limit: 10
t.string "phase", limit: 15, default: "on_hold"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.text "description_accepting"
t.text "description_reviewing"
t.text "description_selecting"
t.text "description_valuating"
t.text "description_balloting"
t.text "description_reviewing_ballots"
t.text "description_finished"
end
create_table "campaigns", force: :cascade do |t|