1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851
|
// --
// initial_insert.sql - provides initial system data
// Copyright (C) 2001,2002 Martin Edenhofer <martin+code@otrs.org>
// --
// $Id: initial_insert.sapdb.sql,v 1.3 2004/02/04 11:40:41 martin Exp $
//
// $Log: initial_insert.sapdb.sql,v $
// Revision 1.3 2004/02/04 11:40:41 martin
// renamed comment to comments
//
// Revision 1.2 2003/12/02 21:52:56 martin
// fixed inital load of new user_group table
//
// Revision 1.1 2003/07/08 14:18:36 martin
// new SAPDB stuff
//
// Revision 1.10 2003/04/30 12:47:42 martin
// removed not needed stuff
//
// Revision 1.9 2003/04/22 21:23:23 martin
// added missing StateUpdate to ticket_history_type table
//
// Revision 1.8 2003/04/12 21:34:12 martin
// added log type for ticket free text update
//
// Revision 1.7 2003/03/28 18:41:31 martin
// fixed queue inital insert
//
// Revision 1.6 2003/03/13 19:02:02 martin
// changed docu.otrs.org to doc.otrs.org
//
// Revision 1.5 2003/03/10 21:25:50 martin
// added customer email notification on move, state update
// or owner update (config option for each queue).
// http://lists.otrs.org/pipermail/dev/2002-June/000005.html
//
// Revision 1.4 2003/03/08 17:58:00 martin
// changed reserved SQL words (read, write) to (permission_read, permission_write)
//
// Revision 1.3 2003/03/03 23:41:45 martin
// added ticket_state_type values and updated ticket_state values
//
// Revision 1.2 2003/02/08 21:13:29 martin
// added number prefix to priority for sort
//
// Revision 1.1 2003/02/08 11:54:29 martin
// moved from install/database to scripts/database
//
// Revision 1.35 2003/01/06 21:40:51 martin
// removed language table, not longer used
//
// Revision 1.34 2002/12/25 09:31:39 martin
// added pending states and removed waiting states
//
// Revision 1.33 2002/12/15 00:58:21 martin
// fixed "successful" typo - http://bugs.otrs.org/show_bug.cgi?id=53
//
// Revision 1.32 2002/11/27 10:33:54 martin
// removed old stuff and added Windows-1251 charset
//
// Revision 1.31 2002/11/15 14:12:13 martin
// added Dutch and Bulgarian translation!
//
// Revision 1.30 2002/10/20 12:33:02 martin
// removed personal_queues entry for root@localhost
//
// Revision 1.29 2002/08/27 21:17:37 martin
// changed OpenTRS to OTRS
//
// Revision 1.28 2002/08/27 21:16:22 martin
// added Cyrillic Charset (KOI8-R)
//
// Revision 1.27 2002/07/31 23:17:23 martin
// added time accounting feature
//
// Revision 1.26 2002/07/25 20:21:28 martin
// added iso-8859-7 - greek charset
//
// Revision 1.25 2002/07/23 20:20:38 martin
// removed test queues
//
// Revision 1.24 2002/07/13 12:33:05 martin
// added more articke types and more history types
//
// Revision 1.23 2002/07/02 08:40:55 martin
// added iso-8859-15
//
// Revision 1.22 2002/06/15 20:01:28 martin
// changed text of welcome ticket
//
// Revision 1.21 2002/05/30 13:39:55 martin
// fixed some stuff, added postgresql support.
//
// Revision 1.20 2002/05/26 22:59:33 martin
// added escalation_time and unlock_timeout to default queues,
//
// Revision 1.19 2002/05/21 21:46:05 martin
// changed default auto responses.
//
// Revision 1.18 2002/05/14 00:18:19 martin
// added ticket_history_type SendAgentNotification
//
// Revision 1.17 2002/05/12 19:25:07 martin
// added personal_queues for root user.
//
// Revision 1.16 2002/05/09 23:39:20 martin
// added French language and added queue_id to initial system address
//
// Revision 1.15 2002/05/07 22:16:03 martin
// added emty answer to each queue
//
// Revision 1.14 2002/05/05 13:45:57 martin
// added bavarian language.
//
// Revision 1.13 2002/05/04 20:35:03 martin
// renamed user table and removed comments row from user table.
//
// Revision 1.12 2002/05/01 17:34:28 martin
// added <OTRS_CUSTOMER_REALNAME> tags.
//
// Revision 1.11 2002/04/30 00:14:48 martin
// added stats group.
//
// Revision 1.10 2002/04/14 18:25:17 martin
// removed preferenvers from user table
//
// Revision 1.9 2002/04/14 13:34:20 martin
// replaced article type email with email-external
//
// Revision 1.8 2002/04/08 14:17:40 martin
// bin/PostMaster.pl
//
// Revision 1.7 2002/02/03 22:48:20 martin
// typo in welcome ticket.
//
// Revision 1.6 2002/02/03 17:58:45 martin
// added welcome ticket.
//
// Revision 1.5 2002/01/30 16:45:09 martin
// changed otrs@otrs.org to otrs@localhost
//
// Revision 1.4 2002/01/20 22:23:55 martin
// no note-normal anymore.
//
// Revision 1.3 2002/01/10 20:14:00 martin
// added cvs log.
//
//
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (GPL). If you
// did not receive this file, see http://www.gnu.org/licenses/gpl.txt.
// --
// table valid
INSERT INTO valid
(name, create_by, create_time, change_by, change_time)
VALUES
('valid', 1, timestamp, 1, timestamp)
//
INSERT INTO valid
(name, create_by, create_time, change_by, change_time)
VALUES
('invalid', 1, timestamp, 1, timestamp)
//
INSERT INTO valid
(name, create_by, create_time, change_by, change_time)
VALUES
('invalid-temporarily', 1, timestamp, 1, timestamp)
//
// ticket_priority
INSERT INTO ticket_priority
(name, create_by, create_time, change_by, change_time)
VALUES
('1 very low', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_priority
(name, create_by, create_time, change_by, change_time)
VALUES
('2 low', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_priority
(name, create_by, create_time, change_by, change_time)
VALUES
('3 normal', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_priority
(name, create_by, create_time, change_by, change_time)
VALUES
('4 high', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_priority
(name, create_by, create_time, change_by, change_time)
VALUES
('5 very high', 1, timestamp, 1, timestamp)
//
// ticket_lock_type
INSERT INTO ticket_lock_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('unlock', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_lock_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('lock', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_lock_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('tmp_lock', 1, 1, timestamp, 1, timestamp)
//
// user
INSERT INTO system_user
(first_name, last_name, login, pw, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Admin', 'OTRS', 'root@localhost', 'roK20XGbWEsSM', 1, 1, timestamp, 1, timestamp)
//
// groups
INSERT INTO groups
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('users', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO groups
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('admin', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO groups
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('stats', 1, 1, timestamp, 1, timestamp)
//
// group_user (add admin to groups)
INSERT INTO group_user
(user_id, group_id, permission_key, permission_value, create_by, create_time, change_by, change_time)
VALUES
(1, 1, 'rw', 1, 1, current_timestamp, 1, current_timestamp)
INSERT INTO group_user
(user_id, group_id, permission_key, permission_value, create_by, create_time, change_by, change_time)
VALUES
(1, 2, 'rw', 1, 1, current_timestamp, 1, current_timestamp)
INSERT INTO group_user
(user_id, group_id, permission_key, permission_value, create_by, create_time, change_by, change_time)
VALUES
(1, 3, 'rw', 1, 1, current_timestamp, 1, current_timestamp)
//
// theme
INSERT INTO theme
(theme, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Standard', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO theme
(theme, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Lite', 1, 1, timestamp, 1, timestamp)
//
// charset
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Latin-1 (iso-8859-1)', 'iso-8859-1', 'Western European languages.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Latin-2 (iso-8859-2)', 'iso-8859-2', 'Slavic and Central European languages.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Latin-3 (iso-8859-3)', 'iso-8859-3', 'Esperanto, Galician, Maltese, and Turkish.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Latin-4 (iso-8859-4)', 'iso-8859-4', 'Estonian, Latvian, and Lithuanian.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Cyrillic (iso-8859-5)', 'iso-8859-5', 'Bulgarian, Byelorussian, Macedonian, Russian, Serbian and Ukrainian.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Greek (iso-8859-7)', 'iso-8859-7', 'Modern monotonic Greek.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Unicode (UTF-8)', 'UTF-8', 'Unicode UTF-8', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Cyrillic Charset (KOI8-R)', 'KOI8-R', 'Unicode UTF-8', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Cyrillic Charset (Windows-1251)', 'Windows-1251', 'Windows-1251 - cp1251', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Turkish (iso-8859-9)', 'iso-8859-9', 'Turkish.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO charset
(name, charset, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Latin-15 (iso-8859-15)', 'iso-8859-15', 'Western European languages with euro.', 1, 1, timestamp, 1, timestamp)
//
// ticket_state
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('new', 'ticket is new', 1, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('closed successful', 'ticket is closed successful', 3, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('closed unsuccessful', 'ticket is closed unsuccessful', 3, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('open', 'ticket is open', 2, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('removed', 'customer removed ticket (can reactivate)', 6, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('pending reminder', 'ticket is pending for agent reminder', 4, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('pending auto close+', 'ticket is pending for automatic close', 5, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state (name, comments, type_id, valid_id, create_by, create_time, change_by, change_time)
VALUES ('pending auto close-', 'ticket is pending for automatic close', 5, 1, 1, timestamp, 1, timestamp)
//
// ticket_state_type
INSERT INTO ticket_state_type (name, comments, create_by, create_time, change_by, change_time)
VALUES
('new', 'all new state types (default: viewable)', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state_type (name, comments, create_by, create_time, change_by, change_time)
VALUES
('open', 'all open state types (default: viewable)', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state_type (name, comments, create_by, create_time, change_by, change_time)
VALUES
('closed', 'all closed state types (default: not viewable)', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state_type (name, comments, create_by, create_time, change_by, change_time)
VALUES
('pending reminder', 'all "pending reminder" state types (default: viewable)', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state_type (name, comments, create_by, create_time, change_by, change_time)
VALUES
('pending auto', 'all "pending auto *" state types (default: viewable)', 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_state_type (name, comments, create_by, create_time, change_by, change_time)
VALUES
('removed', 'all "removed" state types (default: not viewable)', 1, timestamp, 1, timestamp)
//
// salutation
INSERT INTO salutation
(name, text, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('system standard salutation (en)', 'Dear <OTRS_CUSTOMER_REALNAME>,
Thank you for your request.
', 'std. salutation', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO salutation
(name, text, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('system standard salutation (de/buiss)', 'Sehr geehrter <OTRS_CUSTOMER_REALNAME>,
Danke fr Ihre Anfrage.
', 'std. salutation', 1, 1, timestamp, 1, timestamp)
//
// signature
INSERT INTO signature
(name, text, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('system standard signature (en)', '
Your OTRS-Team
-
<OTRS_FIRST_NAME> <OTRS_LAST_NAME>
--
', 'std signature', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO signature
(name, text, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('system standard signature (de/buiss)', '
Ihr OTRS Team
--
<OTRS_FIRST_NAME> <OTRS_LAST_NAME>
--
', 'std. signature', 1, 1, timestamp, 1, timestamp)
//
// system_address
INSERT INTO system_address
(value0, value1, comments, valid_id, queue_id, create_by, create_time, change_by, change_time)
VALUES
('otrs@localhost', 'OTRS System', 'Std. Address', 1, 1, 1, timestamp, 1, timestamp)
//
// follow_up_possible
INSERT INTO follow_up_possible
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('possible', 'Follow ups after closed(+|-) possible. Ticket will be reopen.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO follow_up_possible
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('reject', 'Follow ups after closed(+|-) not possible. No new ticket will be created.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO follow_up_possible
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('new ticket', 'Follow ups after closed(+|-) not possible. A new ticket will be created.', 1, 1, timestamp, 1, timestamp)
//
// queue
INSERT INTO queue
(name, group_id, system_address_id, salutation_id, signature_id, follow_up_id, follow_up_lock, escalation_time, unlock_timeout, move_notify, lock_notify, state_notify, owner_notify, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Postmaster', 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 'master queue', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue
(name, group_id, system_address_id, salutation_id, signature_id, follow_up_id, follow_up_lock, escalation_time, unlock_timeout, move_notify, lock_notify, state_notify, owner_notify, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Raw', 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 'all incoming tickets', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue
(name, group_id, system_address_id, salutation_id, signature_id, follow_up_id, follow_up_lock, escalation_time, unlock_timeout, move_notify, lock_notify, state_notify, owner_notify, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Junk', 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 'all junk tickets', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue
(name, group_id, system_address_id, salutation_id, signature_id, follow_up_id, follow_up_lock, escalation_time, unlock_timeout, move_notify, lock_notify, state_notify, owner_notify, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Misc', 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 'all misk tickets', 1, 1, timestamp, 1, timestamp)
//
// ticket_history_type
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('NewTicket', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('FollowUp', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SendAutoReject', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SendAutoReply', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SendAutoFollowUp', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Forward', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Bounce', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SendAnswer', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SendAgentNotification', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SendCustomerNotification', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('PhoneCallAgent', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('PhoneCallCustomer', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Close successful', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Close unsuccessful', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('AddNote', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Open', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Reopen', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Move', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Lock', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Unlock', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Remove', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('TimeAccounting', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('CustomerUpdate', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('PriorityUpdate', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('OwnerUpdate', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('LoopProtection', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('Misc', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SetPendingTime', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('SetPending', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('StateUpdate', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('TicketFreeTextUpdate', 1, 1, timestamp, 1, timestamp)
//
// article_type
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('email-external', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('email-internal', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('email-notification-ext', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('email-notification-int', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('phone', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('fax', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('sms', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('webrequest', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('note-internal', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('note-external', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('note-report', 1, 1, timestamp, 1, timestamp)
//
// article_article_sender_type
INSERT INTO article_sender_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('agent', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_sender_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('system', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO article_sender_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('customer', 1, 1, timestamp, 1, timestamp)
//
// standard_response
INSERT INTO standard_response
(name, text, valid_id, create_by, create_time, change_by, change_time)
VALUES
('empty answer', '', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO standard_response
(name, text, valid_id, create_by, create_time, change_by, change_time)
VALUES
('test answer', 'test answer ...', 1, 1, timestamp, 1, timestamp)
//
// queue_standard_response
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(1, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(2, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(3, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(4, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(5, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(6, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(7, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(8, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_standard_response
(queue_id, standard_response_id, create_by, create_time, change_by, change_time)
VALUES
(9, 1, 1, timestamp, 1, timestamp)
//
// auto_response_type
INSERT INTO auto_response_type
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('auto reply', 'auto replay after a new ticket.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO auto_response_type
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('auto reject', 'auto reject.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO auto_response_type
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('auto follow up', 'auto follow up after a follow up.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO auto_response_type
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('auto reply/new ticket', 'auto reply after a follow up. Because the ticket is closed.', 1, 1, timestamp, 1, timestamp)
//
INSERT INTO auto_response_type
(name, comments, valid_id, create_by, create_time, change_by, change_time)
VALUES
('auto remove', 'auto remove after a remove e-mail.', 1, 1, timestamp, 1, timestamp)
//
// auto_response
INSERT INTO auto_response
(type_id, system_address_id, name, text0, text1, charset_id, comments, valid_id, create_time, create_by, change_time, change_by)
VALUES
(1, 1, 'default reply', 'This is a demo text which is send to every inquery.
It could contain something like:
Thanks for your e-mail. A new ticket has been created.
You wrote:
<OTRS_CUSTOMER_EMAIL[6]>
Your e-mail will be answered by a human asap
Have fun with OTRS! :-)
Your OTRS Team
', 'RE: <OTRS_CUSTOMER_SUBJECT[20]>', 1, 'default', 1, timestamp, 1, timestamp, 1)
//
INSERT INTO auto_response
(type_id, system_address_id, name, text0, text1, charset_id, comments, valid_id, create_time, create_by, change_time, change_by)
VALUES
(2, 1, 'default reject', 'Reject.', 'thank you for your e-mail. But you forgot importand infos. Pleace write again with all informations. Thanks', 1, 'default', 1, timestamp, 1, timestamp, 1)
//
INSERT INTO auto_response
(type_id, system_address_id, name, text0, text1, charset_id, comments, valid_id, create_time, create_by, change_time, change_by)
VALUES
(3, 1, 'default follow up', 'Thanks for your follow up e-mail
You wrote:
<OTRS_CUSTOMER_EMAIL[6]>
Your e-mail will be answered by a human asap.
Have fun with OTRS!
Your OTRS Team
', 'RE: <OTRS_CUSTOMER_SUBJECT[20]>', 1, 'default', 1, timestamp, 1, timestamp, 1)
//
INSERT INTO auto_response
(type_id, system_address_id, name, text0, text1, charset_id, comments, valid_id, create_time, create_by, change_time, change_by)
VALUES
(4, 1, 'default closed -> new ticket', 'New ticket after follow up.', 'thank you for your e-mail. The old ticket is closed. You have a new ticket now.', 1, 'default', 1, timestamp, 1, timestamp, 1)
//
INSERT INTO auto_response
(type_id, system_address_id, name, text0, text1, charset_id, comments, valid_id, create_time, create_by, change_time, change_by)
VALUES
(5, 1, 'default remove', 'Ticket removed.', 'thank you for your remove e-mail. The ticket is closed.', 1, 'default', 1, timestamp, 1, timestamp, 1)
//
// queue_auto_response
INSERT INTO queue_auto_response
(queue_id, auto_response_id, create_by, create_time, change_by, change_time)
VALUES
(11, 1, 1, timestamp, 1, timestamp)
//
INSERT INTO queue_auto_response
(queue_id, auto_response_id, create_by, create_time, change_by, change_time)
VALUES
(11, 2, 1, timestamp, 1, timestamp)
//
// --
// welcome ticket
// 2002-02-03 added by martin+code at otrs.org
// --
INSERT INTO article
(ticket_id, article_type_id, article_sender_type_id, a_from, a_to, a_subject, a_message_id, a_body, incoming_time, content_path, valid_id, create_time, create_by, change_time, change_by)
VALUES
(1,1,3, 'OTRS Feedback <feedback@otrs.org>', 'Your OTRS System <otrs@localhost>',
'Welcome to OTRS!', '<007@localhost>',
'Welcome to OTRS!
thank you for installing OTRS.
You will find updates and patches at http://otrs.org/. Online
documentation is available at http://doc.otrs.org/. You can also
take advantage of our mailing lists http://lists.otrs.org/.
Your OTRS Team
Manage your communication!',
1012757943, '2002/02/3', 1, timestamp,1,timestamp,1)
//
INSERT INTO ticket
(tn, queue_id, ticket_lock_id, ticket_answered, user_id, group_id, ticket_priority_id, ticket_state_id, valid_id, create_time_unix, create_time, create_by, change_time, change_by)
VALUES
('1010001', 2, 1, 0, 1, 1, 3, 1, 1, 1012757943, timestamp, 1, timestamp, 1)
//
INSERT INTO ticket_history
(name, history_type_id, ticket_id, article_id, valid_id, create_time, create_by, change_time, change_by)
VALUES
('New Ticket [1010001] created.',1,1,1,1, timestamp,1,timestamp,1)
//
|