20160303000001_email_ticket_cc.rb 595 B

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