added new migration to make asseturls text

This commit is contained in:
Tyrel Souza 2014-05-02 11:19:15 -04:00
parent 44e52e16fc
commit d9ffe8ac86
2 changed files with 7 additions and 2 deletions

View File

@ -0,0 +1,5 @@
class ChangeAsseturlsToTextInVideolistings < ActiveRecord::Migration
def change
change_column :videolistings, :asseturls, :text
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: 20140429154347) do
ActiveRecord::Schema.define(version: 20140502151827) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -106,7 +106,7 @@ ActiveRecord::Schema.define(version: 20140429154347) do
t.integer "musicselection"
t.text "clientprovidedscript"
t.text "notes"
t.string "asseturls", default: "{}"
t.text "asseturls", default: "{}"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "campaign_id"