Make database persistent