From 0f1532aee098049b17ad6b7ecb1d083c856f1d64 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 10 Jan 2020 23:04:14 -0600 Subject: add option for changing the monsterfork api exposure level, defaulting to `full` - if this gives your app indigestion change it to back to `basic` in preferences --- db/migrate/20200111042543_add_visibility_compat_toggle.rb | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 db/migrate/20200111042543_add_visibility_compat_toggle.rb (limited to 'db/migrate') diff --git a/db/migrate/20200111042543_add_visibility_compat_toggle.rb b/db/migrate/20200111042543_add_visibility_compat_toggle.rb new file mode 100644 index 000000000..38c8785c4 --- /dev/null +++ b/db/migrate/20200111042543_add_visibility_compat_toggle.rb @@ -0,0 +1,7 @@ +class AddVisibilityCompatToggle < ActiveRecord::Migration[5.2] + def change + safety_assured do + add_column :users, :monsterfork_api, :smallint, null: false, default: 2 + end + end +end -- cgit