Resolved: Non null values
Why, in the solution, there's no NOT NULL included in each column? Are we supposed to not have information of customers included?
Hi Ana!
Thanks for reaching out.
You are correct if we talk about a real database. You have to think that this is not a real database and for now the NULL for customer_id
will work.
Hope this helps.
Best,
Tsvetelin
Thanks! It's more clear now :)
yeah there should be not null clause for customer_id since it will act as primary key in relationship schema
I would recommend that the solution file be corrected. On the one hand, we are learning that the primary key MUST be given as NOT NULL values, while on the other hand, you are claiming that we are not working with real data! It's a little odd. Whether it is or not, we need a proper schema in place; aren't we expected to do it here?