change migration of data types
This commit is contained in:
parent
847a81face
commit
5739401cad
@ -13,6 +13,7 @@
|
|||||||
hint: "If the customer has provided a script for BetterVideo to use. Formatting is text only." %>
|
hint: "If the customer has provided a script for BetterVideo to use. Formatting is text only." %>
|
||||||
<%= f.input :notes,
|
<%= f.input :notes,
|
||||||
label: 'Production Notes',
|
label: 'Production Notes',
|
||||||
|
as: 'text',
|
||||||
hint: "Notes and/or instructions sent in this field are used by the editors to aid in production of the video." %>
|
hint: "Notes and/or instructions sent in this field are used by the editors to aid in production of the video." %>
|
||||||
<%= f.input :asseturls,
|
<%= f.input :asseturls,
|
||||||
label: 'Asset Urls',
|
label: 'Asset Urls',
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
class ChangeFieldTypesVideolisting < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
change_column :videolistings, :notes, :text
|
||||||
|
change_column :videolistings, :clientprovidedscript, :text
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20140424185113) do
|
ActiveRecord::Schema.define(version: 20140425200716) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@ -105,8 +105,8 @@ ActiveRecord::Schema.define(version: 20140424185113) do
|
|||||||
t.integer "producttypeid"
|
t.integer "producttypeid"
|
||||||
t.integer "voiceoverselection"
|
t.integer "voiceoverselection"
|
||||||
t.integer "musicselection"
|
t.integer "musicselection"
|
||||||
t.string "clientprovidedscript"
|
t.text "clientprovidedscript"
|
||||||
t.string "notes"
|
t.text "notes"
|
||||||
t.string "asseturls", default: "{}"
|
t.string "asseturls", default: "{}"
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
Loading…
Reference in New Issue
Block a user