HannesRammer/Dartabase — pull request #23 by jdmartinho (2014-06-11 10:53:40+00:00)
Title: Fixes for Dartabase Migration tool

Hi, I was part of a team doing a recent hackathon and we decided to explore Dart and create a small POC on it. We used your Dartabase Migration tool and we found a couple of issues on it which we fixed.
The first one is in the scaffolding where we weren't able to see any HTML being generated for the views. The reason is that there is a typo in line 753 overwriting the contents of the HTML file with the ones from the CSS generated file.
The second issue we found was preventing us from creating relations. The comparison with the runtimeType in the function needs to take the string of the type in order to work fine.
These fixes worked for us, I hope they work for you and you can include them in the source code.
Cheers