adds video_url to proposals
This commit is contained in:
5
db/migrate/20150914191003_add_video_url_to_proposal.rb
Normal file
5
db/migrate/20150914191003_add_video_url_to_proposal.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddVideoUrlToProposal < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :proposals, :video_url, :string
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150914184018) do
|
||||
ActiveRecord::Schema.define(version: 20150914191003) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -211,6 +211,7 @@ ActiveRecord::Schema.define(version: 20150914184018) do
|
||||
t.datetime "updated_at", null: false
|
||||
t.string "responsible_name", limit: 60
|
||||
t.text "summary"
|
||||
t.string "video_url"
|
||||
end
|
||||
|
||||
add_index "proposals", ["author_id", "hidden_at"], name: "index_proposals_on_author_id_and_hidden_at", using: :btree
|
||||
|
||||
Reference in New Issue
Block a user