Adds responsible_name to spending_proposals

This commit is contained in:
kikito
2016-04-06 19:18:10 +02:00
parent 1bfed9e397
commit 3c8416e863
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddResponsibleNameToSpendingProposals < ActiveRecord::Migration
def change
add_column :spending_proposals, :responsible_name, :string, limit: 60
end
end

View File

@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160329160106) do
ActiveRecord::Schema.define(version: 20160406163649) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -314,6 +314,7 @@ ActiveRecord::Schema.define(version: 20160329160106) do
t.datetime "unfeasible_email_sent_at"
t.integer "cached_votes_up", default: 0
t.tsvector "tsv"
t.string "responsible_name", limit: 60
end
add_index "spending_proposals", ["author_id"], name: "index_spending_proposals_on_author_id", using: :btree