fixed schema and migrations
fixed indentation