Update database schema for queue_classic 3.0.

- Add columns created_at and locked_by.
- Add NOT NULL constraints.
- Add notify trigger.