diff --git a/db/migrate/20170713083836_rename_applies_to_visibility_expression.rb b/db/migrate/20170713083836_rename_applies_to_visibility_expression.rb new file mode 100644 index 000000000..75155f2df --- /dev/null +++ b/db/migrate/20170713083836_rename_applies_to_visibility_expression.rb @@ -0,0 +1,5 @@ +class RenameAppliesToVisibilityExpression < ActiveRecord::Migration[5.0] + def change + rename_column :custom_buttons, :applies_to_exp, :visibility_expression + end +end diff --git a/db/schema.yml b/db/schema.yml index f05dc5e92..13919410f 100644 --- a/db/schema.yml +++ b/db/schema.yml @@ -985,7 +985,7 @@ custom_buttons: - guid - description - applies_to_class -- applies_to_exp +- visibility_expression - options - userid - wait_for_complete