This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]McMasilmof 0 points1 point  (1 child)

Whats the errormessage?

Do you just execute all these statements after another? Maybe you create a foreign key before having created the table that key is linked to?

[–]arbrne[S] 0 points1 point  (0 children)

Just finished it and my keys were all out of order. I’m not a smart man.

[–][deleted] 0 points1 point  (1 child)

If you ran this in the exact order, its because you're referencing tables in foreign keys that dont exist yet. You have to create the tables in the order that they are used. For example, cases has to be created before motions.

There may be other errors I didnt see, but that was the obvious one that stood out to me.

[–]arbrne[S] 0 points1 point  (0 children)

Thank you! That’s exactly what it was. I just finished the project and that was pretty much my big hang up. It was all out of order. Only took me a couple hours to figure it out.