QUERY PLAN
Sort (cost=305.58..305.95 rows=149 width=519)
Sort Key: id DESC
-> Bitmap Heap Scan on tbl_schedules (cost=5.44..300.20 rows=149 width=519)
Recheck Cond: (created_by = 1001)
-> Bitmap Index Scan on tbl_schedules_created_by_idx (cost=0.00..5.40 rows=149 width=0)
Index Cond: (created_by = 1001)