change DB config and gitignore