TableSchema
The TableSchema interface describes one table, its columns, its primary key, its indexes, and its foreign keys.
columns
The columns property describes the table's columns, in declaration order, including any added later by ALTER TABLE. Read more.
foreignKeys
The foreignKeys property describes the table's foreign keys, in the order they were declared. Read more.
indexes
The indexes property describes the table's secondary indexes, in name order. Read more.
name
The name property contains the table's name. Read more.
primaryKey
The primaryKey property contains the primary-key column names, in key order. A composite key has more than one. Read more.
renamedFrom
The renamedFrom property names a table's former name, which setSchema renames the table from while the database still has a table of that name. getSchema never includes it. Read more.