[NF] Fixed database script.