IMHO Good database design in more important then good coding (good coding is also important but compare to database design).
- Simply because Database will store your valuable data.
- Bad coding may not affect the database but will affect the scalability, performance of the whole application, etc. Over a period of time this can be fixed by refactoring(ofcourse some cost involved).
- Refactoring a database is much more costlier and difficult.
- Also normally we have multiple different apps running on same database so its a common factor.