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
|
-- --
-- Update an existing OTRS database from 1.1 to 1.2
-- Copyright (C) 2001-2006 OTRS GmbH, http://otrs.org/
-- --
-- $Id: DBUpdate-to-1.2.postgresql.sql,v 1.17 2006/10/03 14:34:47 mh Exp $
-- --
--
-- usage: cat DBUpdate-to-1.1.postgresql.sql | psql otrs
--
-- --
--
-- new ticket history stuff
--
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('EmailAgent', 1, 1, current_timestamp, 1, current_timestamp);
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('EmailCustomer', 1, 1, current_timestamp, 1, current_timestamp);
INSERT INTO ticket_history_type
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('WebRequestCustomer', 1, 1, current_timestamp, 1, current_timestamp);
--
-- for new user serach profiles
--
CREATE TABLE search_profile
(
login varchar (200) NOT NULL,
profile_name varchar (200) NOT NULL,
profile_key varchar (200) NOT NULL,
profile_value varchar (200) NOT NULL
);
--
-- ticket link table
--
CREATE TABLE ticket_link
(
ticket_id_master serial NOT NULL,
ticket_id_slave serial NOT NULL
);
--
-- add move/create/owner/priority/... options to group_user table
--
ALTER TABLE group_user ADD permission_key VARCHAR (20);
ALTER TABLE group_user ADD permission_value SMALLINT;
UPDATE group_user SET permission_value = 0;
ALTER TABLE group_user ALTER COLUMN permission_value SET NOT NULL;
UPDATE group_user SET permission_key = 'ro', permission_value = 1 WHERE permission_read = 1;
UPDATE group_user SET permission_key = 'rw', permission_value = 1 WHERE permission_write = 1;
UPDATE group_user SET permission_key = 'rw', permission_value = 1 WHERE permission_write = 0 and permission_read = 0;
ALTER TABLE group_user DROP permission_read;
ALTER TABLE group_user DROP permission_write;
--
-- create customer user <-> group relation
--
CREATE TABLE group_customer_user
(
user_id VARCHAR (40) NOT NULL,
group_id integer NOT NULL,
permission_key VARCHAR (20),
permission_value SMALLINT NOT NULL,
create_time timestamp(0) NOT NULL,
create_by integer NOT NULL,
change_time timestamp(0) NOT NULL,
change_by integer NOT NULL
);
--
-- add more free text col. to ticket table
--
ALTER TABLE ticket ADD freekey3 VARCHAR (80);
ALTER TABLE ticket ADD freetext3 VARCHAR (150);
ALTER TABLE ticket ADD freekey4 VARCHAR (80);
ALTER TABLE ticket ADD freetext4 VARCHAR (150);
ALTER TABLE ticket ADD freekey5 VARCHAR (80);
ALTER TABLE ticket ADD freetext5 VARCHAR (150);
ALTER TABLE ticket ADD freekey6 VARCHAR (80);
ALTER TABLE ticket ADD freetext6 VARCHAR (150);
ALTER TABLE ticket ADD freekey7 VARCHAR (80);
ALTER TABLE ticket ADD freetext7 VARCHAR (150);
ALTER TABLE ticket ADD freekey8 VARCHAR (80);
ALTER TABLE ticket ADD freetext8 VARCHAR (150);
--
-- faq stuff
--
INSERT INTO groups
(name, valid_id, create_by, create_time, change_by, change_time)
VALUES
('faq', 1, 1, current_timestamp, 1, current_timestamp);
CREATE TABLE faq_item
(
id serial,
f_name VARCHAR (200) NOT NULL,
f_language_id SMALLINT NOT NULL,
f_subject VARCHAR (200),
state_id SMALLINT NOT NULL,
category_id SMALLINT NOT NULL,
f_keywords TEXT,
f_field1 TEXT,
f_field2 TEXT,
f_field3 TEXT,
f_field4 TEXT,
f_field5 TEXT,
f_field6 TEXT,
free_key1 VARCHAR (80),
free_value1 VARCHAR (200),
free_key2 VARCHAR (80),
free_value2 VARCHAR (200),
free_key3 VARCHAR (80),
free_value3 VARCHAR (200),
free_key4 VARCHAR (80),
free_value4 VARCHAR (200),
create_time timestamp(0) NOT NULL,
create_by INTEGER NOT NULL,
change_time timestamp(0) NOT NULL,
change_by INTEGER NOT NULL,
PRIMARY KEY(id),
UNIQUE (f_name)
);
CREATE TABLE faq_language
(
id serial,
name VARCHAR (200) NOT NULL,
PRIMARY KEY(id),
UNIQUE (name)
);
CREATE TABLE faq_history
(
id serial,
name VARCHAR (200) NOT NULL,
item_id INTEGER NOT NULL,
create_time timestamp(0) NOT NULL,
create_by INTEGER NOT NULL,
change_time timestamp(0) NOT NULL,
change_by INTEGER NOT NULL,
PRIMARY KEY(id)
);
CREATE TABLE faq_category
(
id serial,
name VARCHAR (200) NOT NULL,
comments VARCHAR (220) NOT NULL,
create_time timestamp(0) NOT NULL,
create_by INTEGER NOT NULL,
change_time timestamp(0) NOT NULL,
change_by INTEGER NOT NULL,
PRIMARY KEY(id),
UNIQUE (name)
);
CREATE TABLE faq_state
(
id serial,
name VARCHAR (200) NOT NULL,
type_id INTEGER NOT NULL,
PRIMARY KEY(id),
UNIQUE (name)
);
CREATE TABLE faq_state_type
(
id serial,
name VARCHAR (200) NOT NULL,
PRIMARY KEY(id),
UNIQUE (name)
);
INSERT INTO faq_item
(f_name, f_language_id, f_subject, state_id, category_id, f_field1, f_field2, f_field3, create_time, create_by, change_time, change_by)
VALUES
('welcome', 1, 'Welcome!', 1, 1, 'symptom...', 'problem...', 'solution...', current_timestamp, 1, current_timestamp, 1);
INSERT INTO faq_history
(name, item_id, create_time, create_by, change_time, change_by)
VALUES
('Created', 1, current_timestamp, 1, current_timestamp, 1);
INSERT INTO faq_language (name) VALUES ('en');
INSERT INTO faq_language (name) VALUES ('de');
INSERT INTO faq_language (name) VALUES ('es');
INSERT INTO faq_language (name) VALUES ('fr');
INSERT INTO faq_category
(name, comments, create_time, create_by, change_time, change_by)
VALUES
('all', 'default category', current_timestamp, 1, current_timestamp, 1);
INSERT INTO faq_state (name, type_id) VALUES ('internal (agent)', 1);
INSERT INTO faq_state (name, type_id) VALUES ('external (customer)', 2);
INSERT INTO faq_state (name, type_id) VALUES ('public (all)', 3);
INSERT INTO faq_state_type (name) VALUES ('internal');
INSERT INTO faq_state_type (name) VALUES ('external');
INSERT INTO faq_state_type (name) VALUES ('public');
--
-- auto_response update
--
ALTER TABLE auto_response ADD charset VARCHAR (80);
UPDATE auto_response SET charset = 'ISO-8859-1';
ALTER TABLE auto_response ALTER COLUMN charset SET NOT NULL;
--
-- agent notifications
--
CREATE TABLE notifications
(
id serial,
notification_type varchar (200) NOT NULL,
notification_charset varchar (60) NOT NULL,
notification_language varchar (60) NOT NULL,
subject varchar (250) NOT NULL,
text varchar NOT NULL,
create_time timestamp(0) NOT NULL,
create_by integer NOT NULL,
change_time timestamp(0) NOT NULL,
change_by integer NOT NULL,
PRIMARY KEY(id)
);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::NewTicket', 'iso-8859-1', 'en', 'New ticket notification! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_USERFIRSTNAME>,
there is a new ticket in "<OTRS_QUEUE>"!
<OTRS_CUSTOMER_FROM> wrote:
<snip>
<OTRS_CUSTOMER_EMAIL[16]>
<snip>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::FollowUp', 'iso-8859-1', 'en', 'You got follow up! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
you got a follow up!
<OTRS_CUSTOMER_FROM> wrote:
<snip>
<OTRS_CUSTOMER_EMAIL[16]>
<snip>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::LockTimeout', 'iso-8859-1', 'en', 'Lock Timeout! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
unlocked (lock timeout) your locked ticket [<OTRS_TICKET_NUMBER>].
<OTRS_CUSTOMER_FROM> wrote:
<snip>
<OTRS_CUSTOMER_EMAIL[8]>
<snip>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::OwnerUpdate', 'iso-8859-1', 'en', 'Ticket assigned to you! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
a ticket [<OTRS_TICKET_NUMBER>] is assigned to you by "<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>".
Comment:
<OTRS_COMMENT>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::AddNote', 'iso-8859-1', 'en', 'New note! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
"<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>" added a new note to ticket [<OTRS_TICKET_NUMBER>].
Note:
<OTRS_CUSTOMER_BODY>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::Move', 'iso-8859-1', 'en', 'Moved ticket in "<OTRS_CUSTOMER_QUEUE>" queue! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_USERFIRSTNAME>,
"<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>" moved a ticket [<OTRS_TICKET_NUMBER>] into "<OTRS_CUSTOMER_QUEUE>".
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::PendingReminder', 'iso-8859-1', 'en', 'Ticket Reminder!', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
the ticket "<OTRS_TICKET_NUMBER>" has reached the reminder time!
<OTRS_CUSTOMER_FROM> wrote:
<snip>
<OTRS_CUSTOMER_EMAIL[8]>
<snip>
Please have a look at:
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::Escalation', 'iso-8859-1', 'en', 'Ticket Escalation!', 'Hi <OTRS_USERFIRSTNAME>,
the ticket "<OTRS_TICKET_NUMBER>" is escalated!
<OTRS_CUSTOMER_FROM> wrote:
<snip>
<OTRS_CUSTOMER_EMAIL[8]>
<snip>
Please have a look at:
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Your OTRS Notification Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::NewTicket', 'iso-8859-1', 'de', 'Neues Ticket! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_USERFIRSTNAME>,
es ist ein neues Ticket in "<OTRS_QUEUE>"!
<OTRS_CUSTOMER_FROM> schrieb:
<snip>
<OTRS_CUSTOMER_EMAIL[16]>
<snip>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::FollowUp', 'iso-8859-1', 'de', 'Nachfrage! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
Du hast eine Nachfrage bekommen!
<OTRS_CUSTOMER_FROM> schrieb:
<snip>
<OTRS_CUSTOMER_EMAIL[16]>
<snip>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::LockTimeout', 'iso-8859-1', 'de', 'Lock Timeout! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
aufhebung der Sperre auf Dein gesperrtes Ticket [<OTRS_TICKET_NUMBER>].
<OTRS_CUSTOMER_FROM> schrieb:
<snip>
<OTRS_CUSTOMER_EMAIL[8]>
<snip>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::OwnerUpdate', 'iso-8859-1', 'de', 'Ticket uebertragen an Dich! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
ein Ticket [<OTRS_TICKET_NUMBER>] wurde an Dich von "<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>" uebertragen.
Kommentar:
<OTRS_COMMENT>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::AddNote', 'iso-8859-1', 'de', 'Neue Notiz! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
"<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>" fuegte eine Notiz an Ticket [<OTRS_TICKET_NUMBER>].
Notiz:
<OTRS_CUSTOMER_BODY>
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::Move', 'iso-8859-1', 'de', 'Ticket verschoben in "<OTRS_CUSTOMER_QUEUE>" Queue! (<OTRS_CUSTOMER_SUBJECT[18]>)', 'Hi <OTRS_USERFIRSTNAME>,
"<OTRS_CURRENT_USERFIRSTNAME> <OTRS_CURRENT_USERLASTNAME>" verschob Ticket [<OTRS_TICKET_NUMBER>] nach "<OTRS_CUSTOMER_QUEUE>".
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::PendingReminder', 'iso-8859-1', 'de', 'Ticket Erinnerung!', 'Hi <OTRS_OWNER_USERFIRSTNAME>,
das Ticket "<OTRS_TICKET_NUMBER>" hat die Erinnerungszeit erreicht!
<OTRS_CUSTOMER_FROM> schrieb:
<snip>
<OTRS_CUSTOMER_EMAIL[8]>
<snip>
Bitte um weitere Bearbeutung:
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
INSERT INTO notifications
(notification_type, notification_charset, notification_language, subject, text, create_time, create_by, change_time, change_by)
VALUES
('Agent::Escalation', 'iso-8859-1', 'de', 'Ticket Eskalation!', 'Hi <OTRS_USERFIRSTNAME>,
das Ticket "<OTRS_TICKET_NUMBER>" ist eskaliert!
<OTRS_CUSTOMER_FROM> schrieb:
<snip>
<OTRS_CUSTOMER_EMAIL[8]>
<snip>
Bitte um Bearbeutung:
<OTRS_CONFIG_HttpType>://<OTRS_CONFIG_FQDN>/<OTRS_CONFIG_ScriptAlias>index.pl?Action=AgentZoom&TicketID=<OTRS_TICKET_ID>
Dein OTRS Benachrichiguns-Master', current_timestamp, 1, current_timestamp, 1);
--
-- rename comment to comments column
--
ALTER TABLE groups RENAME comment TO comments;
ALTER TABLE charset RENAME comment TO comments;
ALTER TABLE ticket_state RENAME comment TO comments;
ALTER TABLE ticket_state_type RENAME comment TO comments;
ALTER TABLE salutation RENAME comment TO comments;
ALTER TABLE signature RENAME comment TO comments;
ALTER TABLE system_address RENAME comment TO comments;
ALTER TABLE follow_up_possible RENAME comment TO comments;
ALTER TABLE queue RENAME comment TO comments;
ALTER TABLE ticket_history_type RENAME comment TO comments;
ALTER TABLE article_type RENAME comment TO comments;
ALTER TABLE article_sender_type RENAME comment TO comments;
ALTER TABLE standard_response RENAME comment TO comments;
ALTER TABLE auto_response_type RENAME comment TO comments;
ALTER TABLE auto_response RENAME comment TO comments;
ALTER TABLE customer_user RENAME comment TO comments;
ALTER TABLE standard_attachment RENAME comment TO comments;
ALTER TABLE pop3_account RENAME comment TO comments;
|