database setup
sample for db