TimeTrex/classes/modules/install/sql/postgresql/1018A.sql

7 lines
546 B
SQL

CREATE INDEX permission_control_company_id ON permission_control USING btree (company_id);
CREATE INDEX station_company_id_station_id ON station USING btree (company_id,station_id);
CREATE INDEX request_user_date_id ON request USING btree (user_date_id);
CREATE INDEX message_created_by ON message USING btree (created_by);
CREATE INDEX message_created_by_parent_id ON message USING btree (created_by,parent_id);
CREATE INDEX pay_period_time_sheet_verify_user_id_pay_period_id ON pay_period_time_sheet_verify USING btree (user_id,pay_period_id);