adds votes to spending proposals
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddVotesUpToSpendingProposals < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :spending_proposals, :cached_votes_up, :integer
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20160328152843) do
|
||||
ActiveRecord::Schema.define(version: 20160329115418) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -312,6 +312,7 @@ ActiveRecord::Schema.define(version: 20160328152843) do
|
||||
t.integer "price_first_year", limit: 8
|
||||
t.string "time_scope"
|
||||
t.datetime "unfeasible_email_sent_at"
|
||||
t.integer "cached_votes_up"
|
||||
end
|
||||
|
||||
add_index "spending_proposals", ["author_id"], name: "index_spending_proposals_on_author_id", using: :btree
|
||||
|
||||
Reference in New Issue
Block a user