add database, table, and change the footer

add database, table, and change the footer