tnp_database_tables creation