reset password
Author Message
hhuang30
Posts: 40
Posted 11:20 Mar 05, 2014 |

Hi, a quick question about Schema Design for hw.

Because hw4 is based on hw3, and we want to change java class to tables. I have CourseEntry class with List<String> prerequisites attribute, can I use table Courses with varchar type column prerequisites?

I know this maybe not the best schema design, but I want to use the previous model and code, and at least it works for our homework 4 and 5. So is that Ok?

Thank you in advance.

cysun
Posts: 2935
Posted 11:35 Mar 05, 2014 |

It's not good schema design, but as long as the code works correctly (as in meeting all the functional requirements), it's OK.