about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20191010005320_add_no_desc_to_custom_filters.rb7
-rw-r--r--db/schema.rb3
2 files changed, 9 insertions, 1 deletions
diff --git a/db/migrate/20191010005320_add_no_desc_to_custom_filters.rb b/db/migrate/20191010005320_add_no_desc_to_custom_filters.rb
new file mode 100644
index 000000000..af8144c87
--- /dev/null
+++ b/db/migrate/20191010005320_add_no_desc_to_custom_filters.rb
@@ -0,0 +1,7 @@
+class AddNoDescToCustomFilters < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured {
+      add_column :custom_filters, :no_desc, :boolean, null: false, default: false
+    }
+  end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 9636d0e6a..15bfe9943 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
 #
 # It's strongly recommended that you check this file into your version control system.
 
-ActiveRecord::Schema.define(version: 2019_10_09_231327) do
+ActiveRecord::Schema.define(version: 2019_10_10_005320) do
 
   # These are extensions that must be enabled in order to support this database
   enable_extension "plpgsql"
@@ -259,6 +259,7 @@ ActiveRecord::Schema.define(version: 2019_10_09_231327) do
     t.text "custom_cw"
     t.boolean "override_cw", default: false, null: false
     t.boolean "desc", default: false, null: false
+    t.boolean "no_desc", default: false, null: false
     t.index ["account_id"], name: "index_custom_filters_on_account_id"
   end