PLD: create database in before script