From 2c51aafab67a0674ed7b263ffeec5473d3edcce9 Mon Sep 17 00:00:00 2001 From: Tim Wade Date: Fri, 28 Jul 2017 15:42:03 -0700 Subject: [PATCH] Add expression to entitlements --- db/migrate/20170728223124_add_expression_to_entitlements.rb | 5 +++++ db/schema.yml | 1 + 2 files changed, 6 insertions(+) create mode 100644 db/migrate/20170728223124_add_expression_to_entitlements.rb diff --git a/db/migrate/20170728223124_add_expression_to_entitlements.rb b/db/migrate/20170728223124_add_expression_to_entitlements.rb new file mode 100644 index 000000000..60f8dfc24 --- /dev/null +++ b/db/migrate/20170728223124_add_expression_to_entitlements.rb @@ -0,0 +1,5 @@ +class AddExpressionToEntitlements < ActiveRecord::Migration[5.0] + def change + add_column :entitlements, :filter_expression, :text + end +end diff --git a/db/schema.yml b/db/schema.yml index 79ef02efc..af11fbd0e 100644 --- a/db/schema.yml +++ b/db/schema.yml @@ -1187,6 +1187,7 @@ entitlements: - created_at - updated_at - filters +- filter_expression event_logs: - id - name