Add missing import
Fix the createdb script so that it does not fail on inserts