Added database migration scripts and management commands.