Skip to content

Commit

Permalink
added db migration/updated schema to reflect new column
Browse files Browse the repository at this point in the history
  • Loading branch information
gkiar committed Sep 13, 2017
1 parent 77adbdc commit 74b7642
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class AddContainerIndexToToolConfigs < ActiveRecord::Migration
def change
add_column :tool_configs, :container_index_location, :string
end
end
3 changes: 2 additions & 1 deletion BrainPortal/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20170823174959) do
ActiveRecord::Schema.define(:version => 20170913185428) do

create_table "access_profiles", :force => true do |t|
t.string "name", :null => false
Expand Down Expand Up @@ -373,6 +373,7 @@
t.integer "container_image_userfile_id"
t.string "containerhub_image_name"
t.string "container_engine"
t.string "container_index_location"
end

add_index "tool_configs", ["bourreau_id"], :name => "index_tool_configs_on_bourreau_id"
Expand Down

0 comments on commit 74b7642

Please sign in to comment.