20160303000001_email_ticket_cc.rb 655 B

1234567891011121314151617181920212223242526272829303132333435
  1. class EmailTicketCc < ActiveRecord::Migration
  2. def up
  3. ObjectManager::Attribute.add(
  4. force: true,
  5. object: 'Ticket',
  6. name: 'cc',
  7. display: 'Cc',
  8. data_type: 'input',
  9. data_option: {
  10. type: 'text',
  11. maxlength: 1000,
  12. null: true,
  13. },
  14. editable: false,
  15. active: true,
  16. screens: {
  17. create_top: {
  18. Agent: {
  19. null: true,
  20. },
  21. },
  22. create_middle: {},
  23. edit: {}
  24. },
  25. to_create: false,
  26. to_migrate: false,
  27. to_delete: false,
  28. position: 11,
  29. created_by_id: 1,
  30. updated_by_id: 1,
  31. )
  32. end
  33. end