Here is my erd diagram of my tables...
I am trying to INSERT VALUES into my items table using the following code...
INSERT INTO items (item, addedby, updated_at, created_at) VALUES ("one","two" NOW(), NOW())
I am getting the following error...
11:15:53 INSERT INTO items (item, addedby, updated_at, created_at) VALUES ("one", "two", NOW(), NOW()) Error Code: 1452. Cannot add or update a child row: a foreign key constraint fails (`wishlist`.`items`, CONSTRAINT `fk_items_users` FOREIGN KEY (`users_id`) REFERENCES `users` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION) 0.046 sec
Whats going on!?