[DBTables] Add a mechanism to create tables and indexes.