Forgotten not null constraint in history.users. Also added drop table statements at he beginning of raw sql script.
Merge branch 'models' of https://github.com/skytreader/pynance into models