By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version() |
---|
5.7.35 |
request_id | owner | status | work_id | response_message | created_date | last_modified_date |
---|---|---|---|---|---|---|
1 | A | PENDING | 1 | sdfsdf | 2021-10-26 07:35:13 | 2021-10-26 07:35:13 |
2 | A | PENDING | 2 | sdfsdf | 2021-10-26 07:35:13 | 2021-10-26 07:35:13 |
work_id |
---|
1 |
2 |
Cannot drop index 'work_id': needed in a foreign key constraint
Cannot add or update a child row: a foreign key constraint fails (`db_461931377`.`requests`, CONSTRAINT `requests_ibfk_1` FOREIGN KEY (`work_id`) REFERENCES `work` (`work_id`))
request_id | owner | status | work_id | response_message | created_date | last_modified_date |
---|---|---|---|---|---|---|
1 | A | PENDING | 1 | sdfsdf | 2021-10-26 07:35:13 | 2021-10-26 07:35:13 |
2 | A | PENDING | 2 | sdfsdf | 2021-10-26 07:35:13 | 2021-10-26 07:35:13 |
3 | A | PENDING | 2 | sdfsdf | 2021-10-26 07:35:13 | 2021-10-26 07:35:13 |