script for creating db tables