ALTER TABLE Scrips ADD COLUMN LookupType VARCHAR(255) DEFAULT 'RT::Queue-RT::Ticket';
ALTER TABLE Scrips ALTER COLUMN LookupType DROP DEFAULT;
ALTER TABLE ScripConditions ADD COLUMN LookupType VARCHAR(255) DEFAULT 'RT::Queue-RT::Ticket';
ALTER TABLE ScripConditions ALTER COLUMN LookupType DROP DEFAULT;
ALTER TABLE ScripActions ADD COLUMN LookupType VARCHAR(255) DEFAULT 'RT::Queue-RT::Ticket';
ALTER TABLE ScripActions ALTER COLUMN LookupType DROP DEFAULT;
ALTER TABLE Templates ADD COLUMN LookupType VARCHAR(255) DEFAULT 'RT::Queue-RT::Ticket';
ALTER TABLE Templates ALTER COLUMN LookupType DROP DEFAULT;
ALTER TABLE Templates RENAME COLUMN Queue To ObjectId;
