18 scripconditions_id_seq
28 cachedgroupmembers_id_seq
38 ticketcustomfieldvalues_id_s
39 TicketCustomFieldValues
42 customfieldvalues_id_seq
47 # if there's already an rt_user, drop it.
49 $dbh->selectrow_array( "select usename from pg_user where usename = '" . $RT::DatabaseUser."'" );
51 push @acls, "drop user ${RT::DatabaseUser};",;
54 push @acls, "create user ${RT::DatabaseUser} with password '${RT::DatabasePassword}' NOCREATEDB NOCREATEUSER;";
55 foreach my $table (@tables) {
57 "GRANT SELECT, INSERT, UPDATE, DELETE ON $table to "
58 . $RT::DatabaseUser . ";";