Browse Source

Removed not longer needed attribute.

Martin Edenhofer 8 years ago
parent
commit
20bce3118c
1 changed files with 1 additions and 41 deletions
  1. 1 41
      db/migrate/20160307000001_only_one_group.rb

+ 1 - 41
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',