From 20bce3118c4558200730da007f7426c1dbd6dd2b Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 20 May 2016 04:28:27 +0200 Subject: [PATCH] Removed not longer needed attribute. --- db/migrate/20160307000001_only_one_group.rb | 42 +-------------------- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/db/migrate/20160307000001_only_one_group.rb b/db/migrate/20160307000001_only_one_group.rb index f55a5f344..7c06d7612 100644 --- a/db/migrate/20160307000001_only_one_group.rb +++ b/db/migrate/20160307000001_only_one_group.rb @@ -39,47 +39,7 @@ class OnlyOneGroup < ActiveRecord::Migration created_by_id: 1, updated_by_id: 1, ) - ObjectManager::Attribute.add( - force: true, - object: 'User', - name: 'group_ids', - display: 'Groups', - data_type: 'checkbox', - data_option: { - default: '', - multiple: true, - null: true, - relation: 'Group', - }, - editable: false, - active: true, - screens: { - signup: {}, - invite_agent: { - '-all-' => { - null: false, - only_shown_if_selectable: true, - }, - }, - invite_customer: {}, - edit: { - Admin: { - null: true, - }, - }, - view: { - '-all-' => { - shown: false, - }, - }, - }, - to_create: false, - to_migrate: false, - to_delete: false, - position: 1700, - created_by_id: 1, - updated_by_id: 1, - ) + ObjectManager::Attribute.add( force: true, object: 'User',