Skip to content

Commit

Permalink
Merge pull request #29 from lpichler/AddMiqExpressionEnableAndTextDis…
Browse files Browse the repository at this point in the history
…abled

Add columns enablement_expression and disabled_text to CustomButtons
  • Loading branch information
Fryguy authored Jul 17, 2017
2 parents 32c4dc4 + 5b31b3b commit f2065ca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
class AddEnablementExpressionAndDisabledText < ActiveRecord::Migration[5.0]
def change
add_column :custom_buttons, :enablement_expression, :text
add_column :custom_buttons, :disabled_text, :text
end
end
2 changes: 2 additions & 0 deletions db/schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -993,6 +993,8 @@ custom_buttons:
- name
- visibility
- applies_to_id
- enablement_expression
- disabled_text
customization_scripts:
- id
- name
Expand Down

0 comments on commit f2065ca

Please sign in to comment.