add database sql and test data