Added full database migration