Celestial Body Database: Cant make some test pass

Hello,

I have started the Relational Database Certification and everithing was all right until I reached the foreign keys test . I have checked if everything is correct again and again, and as I didn´t find any error I assume is a test error.
I would like to share the Database’s structure with you guys. I’d really appreciate some help me to find what is wrong here :face_with_diagonal_mouth:.

These are the test that I can not pass:

  • Each “star” should have a foreign key that references one of the rows in galaxy.
  • Each “planet” should have a foreign key that references one of the rows in star.
  • Each “moon” should have a foreign key that references one of the rows in planet.

This is how i structured relations in the Database to pass the tests:

I hope any of you can help me guys!
Cheers from Spain to the whole freeCodeCamp comunity! :two_hearts:

This test will pass once you add data in to the table. I faced the similar issue and restarted exercise 2-3 times. Later on got the issue when added data in the table.

Thank you very much! I was freaking out figuring out what was wrong :rofl: